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:
dundargoc
2024-12-01 20:30:39 +01:00
committed by dundargoc
parent 36b714e9b7
commit c1378413c1
3 changed files with 9 additions and 9 deletions

View File

@ -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 a match from the menu. Only works in combination with
"menu" or "menuone". No effect if "longest" is present. "menu" or "menuone". No effect if "longest" is present.
noselect Do not select a match in the menu, force the user to noselect Same as "noinsert", except that no menu item is
select one from the menu. Only works in combination with pre-selected. If both "noinsert" and "noselect" are present,
"menu" or "menuone". "noselect" has precedence.
fuzzy Enable |fuzzy-matching| for completion candidates. This fuzzy Enable |fuzzy-matching| for completion candidates. This
allows for more flexible and intuitive matching, where allows for more flexible and intuitive matching, where

View File

@ -1086,9 +1086,9 @@ vim.go.cia = vim.go.completeitemalign
--- a match from the menu. Only works in combination with --- a match from the menu. Only works in combination with
--- "menu" or "menuone". No effect if "longest" is present. --- "menu" or "menuone". No effect if "longest" is present.
--- ---
--- noselect Do not select a match in the menu, force the user to --- noselect Same as "noinsert", except that no menu item is
--- select one from the menu. Only works in combination with --- pre-selected. If both "noinsert" and "noselect" are present,
--- "menu" or "menuone". --- "noselect" has precedence.
--- ---
--- fuzzy Enable `fuzzy-matching` for completion candidates. This --- fuzzy Enable `fuzzy-matching` for completion candidates. This
--- allows for more flexible and intuitive matching, where --- allows for more flexible and intuitive matching, where

View File

@ -1530,9 +1530,9 @@ return {
a match from the menu. Only works in combination with a match from the menu. Only works in combination with
"menu" or "menuone". No effect if "longest" is present. "menu" or "menuone". No effect if "longest" is present.
noselect Do not select a match in the menu, force the user to noselect Same as "noinsert", except that no menu item is
select one from the menu. Only works in combination with pre-selected. If both "noinsert" and "noselect" are present,
"menu" or "menuone". "noselect" has precedence.
fuzzy Enable |fuzzy-matching| for completion candidates. This fuzzy Enable |fuzzy-matching| for completion candidates. This
allows for more flexible and intuitive matching, where allows for more flexible and intuitive matching, where