neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 0f4623d3464d9fa8a9130255fc5d386705fb15e8
parent 52be3b14e37fc357d512c51e1aa8172ce6d03acb
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Mon, 14 Apr 2025 08:21:50 +0800

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

related: vim/vim#17100

https://github.com/vim/vim/commit/f4b1a60dd145c8dddd2b6a37699e96772cd69402

Co-authored-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Girish Palya <girishji@gmail.com>

Diffstat:
Mruntime/doc/options.txt | 4++--
Mruntime/lua/vim/_meta/options.lua | 4++--
Msrc/nvim/options.lua | 4++--
3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt @@ -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 fully—unless "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'* diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua @@ -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 fully—unless "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 diff --git a/src/nvim/options.lua b/src/nvim/options.lua @@ -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 fully—unless "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',