mirror of
https://github.com/neovim/neovim.git
synced 2026-07-15 05:40:34 +00:00
vim-patch:9.2.0417: completion: no support for "noinsert" with 'wildmode' (#39516)
Problem: completion: no support for "noinsert" with 'wildmode' and
commandline completion
Solution: Add "noinsert" value to the 'wildmode' option, mirroring
'completeopt' "noinsert" behaviour (glepnir).
fixes: vim/vim#16551
closes: vim/vim#20080
af494af5ff
This commit is contained in:
8
runtime/lua/vim/_meta/options.gen.lua
generated
8
runtime/lua/vim/_meta/options.gen.lua
generated
@@ -8059,8 +8059,12 @@ 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
|
||||
--- specified.
|
||||
--- "noinsert" If 'wildmenu' is enabled, show the menu and preselect
|
||||
--- the first match, but do not insert it in the
|
||||
--- command line. If both "noinsert" and "noselect" are
|
||||
--- present, "noselect" takes precedence.
|
||||
--- If only one match exists, it is completed fully, unless "noselect" or
|
||||
--- "noinsert" is specified.
|
||||
---
|
||||
--- Some useful combinations of colon-separated values:
|
||||
--- "longest:full" Start with the longest common string and show
|
||||
|
||||
Reference in New Issue
Block a user