diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-06-05 15:26:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-05 15:26:24 +0800 |
commit | e41597c510b4708c3192aa7573137e0fe9468a3a (patch) | |
tree | a4094336107761d050e491d61d6686f2c5aa3efb /runtime/lua/vim/_meta/options.lua | |
parent | f69937fdbd162630c35e119e67bbbf052558c0e0 (diff) | |
parent | 818cb27e4843e410df9cc6db11efb33e26bc1b41 (diff) | |
download | rneovim-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 'runtime/lua/vim/_meta/options.lua')
-rw-r--r-- | runtime/lua/vim/_meta/options.lua | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 93ef75aeb3..0b4294ae4b 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -1061,6 +1061,10 @@ vim.bo.cfu = vim.bo.completefunc --- 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. @@ -1069,9 +1073,13 @@ vim.bo.cfu = vim.bo.completefunc --- 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). --- --- @type string vim.o.completeopt = "menu,preview" |