vim-patch:partial:fa8b7db: runtime(doc): tweak documentation style in options.txt

closes: vim/vim#17229

fa8b7db99a

Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
This commit is contained in:
zeertzjq
2025-05-01 07:39:36 +08:00
parent 71f3a9c590
commit ad48cccaa8
3 changed files with 21 additions and 21 deletions

View File

@@ -2650,7 +2650,7 @@ A jump table for the options with a short description can be found at |Q_op|.
lastline '@' 'display' contains lastline/truncate lastline '@' 'display' contains lastline/truncate
trunc '>' truncated text in the trunc '>' truncated text in the
|ins-completion-menu|. |ins-completion-menu|.
truncrl '<' same as "trunc' in 'rightleft' mode truncrl '<' same as "trunc" in 'rightleft' mode
Any one that is omitted will fall back to the default. Any one that is omitted will fall back to the default.
@@ -3546,10 +3546,10 @@ A jump table for the options with a short description can be found at |Q_op|.
*'isexpand'* *'ise'* *'isexpand'* *'ise'*
'isexpand' 'ise' string (default "") 'isexpand' 'ise' string (default "")
global or local to buffer |global-local| global or local to buffer |global-local|
Defines characters and patterns for completion in insert mode. Used by Defines characters and patterns for completion in insert mode. Used
the |complete_match()| function to determine the starting position for by the |complete_match()| function to determine the starting position
completion. This is a comma-separated list of triggers. Each trigger for completion. This is a comma-separated list of triggers. Each
can be: trigger can be:
- A single character like "." or "/" - A single character like "." or "/"
- A sequence of characters like "->", "/*", or "/**" - A sequence of characters like "->", "/*", or "/**"
@@ -7197,8 +7197,8 @@ A jump table for the options with a short description can be found at |Q_op|.
< First press: longest common substring < First press: longest common substring
Second press: list all matches >vim Second press: list all matches >vim
set wildmode=noselect:full set wildmode=noselect:full
< Show 'wildmenu' without completing or selecting on first press < First press: show 'wildmenu' without completing or selecting
Cycle full matches on second press >vim Second press: cycle full matches >vim
set wildmode=noselect:lastused,full set wildmode=noselect:lastused,full
< Same as above, but buffer matches are sorted by time last used < Same as above, but buffer matches are sorted by time last used
More info here: |cmdline-completion|. More info here: |cmdline-completion|.

View File

@@ -2345,7 +2345,7 @@ vim.bo.ft = vim.bo.filetype
--- lastline '@' 'display' contains lastline/truncate --- lastline '@' 'display' contains lastline/truncate
--- trunc '>' truncated text in the --- trunc '>' truncated text in the
--- `ins-completion-menu`. --- `ins-completion-menu`.
--- truncrl '<' same as "trunc' in 'rightleft' mode --- truncrl '<' same as "trunc" in 'rightleft' mode
--- ---
--- Any one that is omitted will fall back to the default. --- Any one that is omitted will fall back to the default.
--- ---
@@ -3438,10 +3438,10 @@ vim.o.inf = vim.o.infercase
vim.bo.infercase = vim.o.infercase vim.bo.infercase = vim.o.infercase
vim.bo.inf = vim.bo.infercase vim.bo.inf = vim.bo.infercase
--- Defines characters and patterns for completion in insert mode. Used by --- Defines characters and patterns for completion in insert mode. Used
--- the `complete_match()` function to determine the starting position for --- by the `complete_match()` function to determine the starting position
--- completion. This is a comma-separated list of triggers. Each trigger --- for completion. This is a comma-separated list of triggers. Each
--- can be: --- trigger can be:
--- - A single character like "." or "/" --- - A single character like "." or "/"
--- - A sequence of characters like "->", "/*", or "/**" --- - A sequence of characters like "->", "/*", or "/**"
--- ---
@@ -7879,8 +7879,8 @@ vim.go.wmnu = vim.go.wildmenu
--- ```vim --- ```vim
--- set wildmode=noselect:full --- set wildmode=noselect:full
--- ``` --- ```
--- Show 'wildmenu' without completing or selecting on first press --- First press: show 'wildmenu' without completing or selecting
--- Cycle full matches on second press --- Second press: cycle full matches
--- ---
--- ```vim --- ```vim
--- set wildmode=noselect:lastused,full --- set wildmode=noselect:lastused,full

View File

@@ -3070,7 +3070,7 @@ local options = {
lastline '@' 'display' contains lastline/truncate lastline '@' 'display' contains lastline/truncate
trunc '>' truncated text in the trunc '>' truncated text in the
|ins-completion-menu|. |ins-completion-menu|.
truncrl '<' same as "trunc' in 'rightleft' mode truncrl '<' same as "trunc" in 'rightleft' mode
Any one that is omitted will fall back to the default. Any one that is omitted will fall back to the default.
@@ -4640,10 +4640,10 @@ local options = {
defaults = '', defaults = '',
deny_duplicates = true, deny_duplicates = true,
desc = [=[ desc = [=[
Defines characters and patterns for completion in insert mode. Used by Defines characters and patterns for completion in insert mode. Used
the |complete_match()| function to determine the starting position for by the |complete_match()| function to determine the starting position
completion. This is a comma-separated list of triggers. Each trigger for completion. This is a comma-separated list of triggers. Each
can be: trigger can be:
- A single character like "." or "/" - A single character like "." or "/"
- A sequence of characters like "->", "/*", or "/**" - A sequence of characters like "->", "/*", or "/**"
@@ -10245,8 +10245,8 @@ local options = {
< First press: longest common substring < First press: longest common substring
Second press: list all matches >vim Second press: list all matches >vim
set wildmode=noselect:full set wildmode=noselect:full
< Show 'wildmenu' without completing or selecting on first press < First press: show 'wildmenu' without completing or selecting
Cycle full matches on second press >vim Second press: cycle full matches >vim
set wildmode=noselect:lastused,full set wildmode=noselect:lastused,full
< Same as above, but buffer matches are sorted by time last used < Same as above, but buffer matches are sorted by time last used
More info here: |cmdline-completion|. More info here: |cmdline-completion|.