diff options
author | dundargoc <gocdundar@gmail.com> | 2024-12-01 20:30:39 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-12-02 08:23:10 +0100 |
commit | c1378413c142e1762b80132c41b10c16c4aa7c13 (patch) | |
tree | 45b1f89ad3604ee9c7504b636ab0d8c10f7e0a36 /runtime/lua | |
parent | 36b714e9b7fa2ab9e15d7a5ff029997363fedce6 (diff) | |
download | rneovim-c1378413c142e1762b80132c41b10c16c4aa7c13.tar.gz rneovim-c1378413c142e1762b80132c41b10c16c4aa7c13.tar.bz2 rneovim-c1378413c142e1762b80132c41b10c16c4aa7c13.zip |
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
https://github.com/vim/vim/commit/768728b48751c5e937409d12d98bfa1fb4c37266
Co-authored-by: dundargoc <gocdundar@gmail.com>
Diffstat (limited to 'runtime/lua')
-rw-r--r-- | runtime/lua/vim/_meta/options.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 247b464a70..01d5235d94 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -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 |