aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-06-05 15:26:24 +0800
committerGitHub <noreply@github.com>2024-06-05 15:26:24 +0800
commite41597c510b4708c3192aa7573137e0fe9468a3a (patch)
treea4094336107761d050e491d61d6686f2c5aa3efb /src/nvim/options.lua
parentf69937fdbd162630c35e119e67bbbf052558c0e0 (diff)
parent818cb27e4843e410df9cc6db11efb33e26bc1b41 (diff)
downloadrneovim-e41597c510b4708c3192aa7573137e0fe9468a3a.tar.gz
rneovim-e41597c510b4708c3192aa7573137e0fe9468a3a.tar.bz2
rneovim-e41597c510b4708c3192aa7573137e0fe9468a3a.zip
Merge pull request #29200 from zeertzjq/vim-9.1.0463
vim-patch:9.1.{0463,0466}
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 0ec17088bb..aa43c4cf3d 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -1443,6 +1443,10 @@ return {
completion in the preview window. Only works in
combination with "menu" or "menuone".
+ popup Show extra information about the currently selected
+ completion in a popup window. Only works in combination
+ with "menu" or "menuone". Overrides "preview".
+
noinsert Do not insert any text for a match until the user selects
a match from the menu. Only works in combination with
"menu" or "menuone". No effect if "longest" is present.
@@ -1451,9 +1455,13 @@ return {
select one from the menu. Only works in combination with
"menu" or "menuone".
- popup Show extra information about the currently selected
- completion in a popup window. Only works in combination
- with "menu" or "menuone". Overrides "preview".
+ fuzzy Enable |fuzzy-matching| for completion candidates. This
+ allows for more flexible and intuitive matching, where
+ characters can be skipped and matches can be found even
+ if the exact sequence is not typed. Only makes a
+ difference how completion candidates are reduced from the
+ list of alternatives, but not how the candidates are
+ collected (using different completion types).
]=],
expand_cb = 'expand_set_completeopt',
full_name = 'completeopt',