From 0f4623d3464d9fa8a9130255fc5d386705fb15e8 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 14 Apr 2025 08:21:50 +0800 Subject: 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 Co-authored-by: Girish Palya --- runtime/lua/vim/_meta/options.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index a6de9d8273..31bcc6485b 100644 --- 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 -- cgit