commit 1c0465bec650966f5c5b4d6d25b1b80c1a0b920c
parent 6ef996a082e373eac1ac0f32092d28814b31d2cd
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri, 22 Aug 2025 16:15:36 +0800
vim-patch:5ca1ea8: runtime(doc): Tweak documentation style
closes: vim/vim#18078
https://github.com/vim/vim/commit/5ca1ea83ad79c8d1ebd25e61c91f1199c9bc4f09
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Diffstat:
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
@@ -751,8 +751,8 @@ A jump table for the options with a short description can be found at |Q_op|.
'autocompletedelay' 'acl' number (default 0)
global
Delay in milliseconds before the autocomplete menu appears after
- typing. If you prefer it not to open too quickly, set this value
- slightly above your typing speed. See |ins-autocompletion|.
+ typing. If you prefer it not to open too quickly, set this value
+ slightly above your typing speed. See |ins-autocompletion|.
*'autoindent'* *'ai'* *'noautoindent'* *'noai'*
'autoindent' 'ai' boolean (default on)
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt
@@ -1485,11 +1485,11 @@ Fuzzy matching scores how well a string matches a pattern when the pattern
characters appear in order but not necessarily contiguously.
Example: >
- Pattern: "vim"
- Candidates: "vim" -> perfect
- "vimeo" -> good (v i m)
- "voice mail" -> weaker (v _ i _ _ _ m)
- "vintage" -> no match (no "m")
+ Pattern: "vim"
+ Candidates: "vim" -> perfect
+ "vimeo" -> good (v i m)
+ "voice mail" -> weaker (v _ i _ _ _ m)
+ "vintage" -> no match (no "m")
<
If the search string has multiple words, each word is matched separately and
may appear in any order in the candidate. For example "get pat" matches
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
@@ -121,8 +121,8 @@ vim.go.autocomplete = vim.o.autocomplete
vim.go.ac = vim.go.autocomplete
--- Delay in milliseconds before the autocomplete menu appears after
---- typing. If you prefer it not to open too quickly, set this value
---- slightly above your typing speed. See `ins-autocompletion`.
+--- typing. If you prefer it not to open too quickly, set this value
+--- slightly above your typing speed. See `ins-autocompletion`.
---
--- @type integer
vim.o.autocompletedelay = 0
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
@@ -246,8 +246,8 @@ local options = {
defaults = 0,
desc = [=[
Delay in milliseconds before the autocomplete menu appears after
- typing. If you prefer it not to open too quickly, set this value
- slightly above your typing speed. See |ins-autocompletion|.
+ typing. If you prefer it not to open too quickly, set this value
+ slightly above your typing speed. See |ins-autocompletion|.
]=],
full_name = 'autocompletedelay',
scope = { 'global' },