vim-patch:f4b1a60: runtime(doc): update options.txt and clarify 'wildmode' further

related: vim/vim#17100

f4b1a60dd1

Co-authored-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Girish Palya <girishji@gmail.com>
This commit is contained in:
zeertzjq
2025-04-14 08:21:50 +08:00
parent 52be3b14e3
commit 0f4623d346
3 changed files with 6 additions and 6 deletions

View File

@ -7125,7 +7125,7 @@ A jump table for the options with a short description can be found at |Q_op|.
applies to buffer name completion.
"noselect" If 'wildmenu' is enabled, show the menu but do not
preselect the first item.
If only one match exists, it is completed fullyunless "noselect" is
If only one match exists, it is completed fully, unless "noselect" is
specified.
Some useful combinations of colon-separated values:
@ -7161,7 +7161,7 @@ A jump table for the options with a short description can be found at |Q_op|.
< Show 'wildmenu' without completing or selecting on first press
Cycle full matches on second press >vim
set wildmode=noselect:lastused,full
< Same as above, but buffer matches are sorted by last used
< Same as above, but buffer matches are sorted by time last used
More info here: |cmdline-completion|.
*'wildoptions'* *'wop'*

View File

@ -7778,7 +7778,7 @@ vim.go.wmnu = vim.go.wildmenu
--- applies to buffer name completion.
--- "noselect" If 'wildmenu' is enabled, show the menu but do not
--- preselect the first item.
--- If only one match exists, it is completed fullyunless "noselect" is
--- If only one match exists, it is completed fully, unless "noselect" is
--- specified.
---
--- Some useful combinations of colon-separated values:
@ -7835,7 +7835,7 @@ vim.go.wmnu = vim.go.wildmenu
--- ```vim
--- set wildmode=noselect:lastused,full
--- ```
--- Same as above, but buffer matches are sorted by last used
--- Same as above, but buffer matches are sorted by time last used
--- More info here: `cmdline-completion`.
---
--- @type string

View File

@ -10155,7 +10155,7 @@ local options = {
applies to buffer name completion.
"noselect" If 'wildmenu' is enabled, show the menu but do not
preselect the first item.
If only one match exists, it is completed fullyunless "noselect" is
If only one match exists, it is completed fully, unless "noselect" is
specified.
Some useful combinations of colon-separated values:
@ -10191,7 +10191,7 @@ local options = {
< Show 'wildmenu' without completing or selecting on first press
Cycle full matches on second press >vim
set wildmode=noselect:lastused,full
< Same as above, but buffer matches are sorted by last used
< Same as above, but buffer matches are sorted by time last used
More info here: |cmdline-completion|.
]=],
full_name = 'wildmode',