mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
vim-patch:768728b: runtime(doc): Update documentation for "noselect" in 'completeopt'
In particular, make the distinction and interaction between "noinsert"
and "noselect" clearer as it was very confusing before.
closes: vim/vim#16148
768728b487
Co-authored-by: dundargoc <gocdundar@gmail.com>
This commit is contained in:
parent
36b714e9b7
commit
c1378413c1
@ -1559,9 +1559,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
a match from the menu. Only works in combination with
|
||||
"menu" or "menuone". No effect if "longest" is present.
|
||||
|
||||
noselect Do not select a match in the menu, force the user to
|
||||
select one from the menu. Only works in combination with
|
||||
"menu" or "menuone".
|
||||
noselect Same as "noinsert", except that no menu item is
|
||||
pre-selected. If both "noinsert" and "noselect" are present,
|
||||
"noselect" has precedence.
|
||||
|
||||
fuzzy Enable |fuzzy-matching| for completion candidates. This
|
||||
allows for more flexible and intuitive matching, where
|
||||
|
6
runtime/lua/vim/_meta/options.lua
generated
6
runtime/lua/vim/_meta/options.lua
generated
@ -1086,9 +1086,9 @@ vim.go.cia = vim.go.completeitemalign
|
||||
--- a match from the menu. Only works in combination with
|
||||
--- "menu" or "menuone". No effect if "longest" is present.
|
||||
---
|
||||
--- noselect Do not select a match in the menu, force the user to
|
||||
--- select one from the menu. Only works in combination with
|
||||
--- "menu" or "menuone".
|
||||
--- noselect Same as "noinsert", except that no menu item is
|
||||
--- pre-selected. If both "noinsert" and "noselect" are present,
|
||||
--- "noselect" has precedence.
|
||||
---
|
||||
--- fuzzy Enable `fuzzy-matching` for completion candidates. This
|
||||
--- allows for more flexible and intuitive matching, where
|
||||
|
@ -1530,9 +1530,9 @@ return {
|
||||
a match from the menu. Only works in combination with
|
||||
"menu" or "menuone". No effect if "longest" is present.
|
||||
|
||||
noselect Do not select a match in the menu, force the user to
|
||||
select one from the menu. Only works in combination with
|
||||
"menu" or "menuone".
|
||||
noselect Same as "noinsert", except that no menu item is
|
||||
pre-selected. If both "noinsert" and "noselect" are present,
|
||||
"noselect" has precedence.
|
||||
|
||||
fuzzy Enable |fuzzy-matching| for completion candidates. This
|
||||
allows for more flexible and intuitive matching, where
|
||||
|
Loading…
Reference in New Issue
Block a user