aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-06-05 15:01:23 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-06-05 15:08:31 +0800
commitc2e836c41cabef3c5e269b5f6401f272112c75e1 (patch)
treedff288367cf1e03c9d6fc6a29de9c10a2f325a5c /runtime/lua/vim/_meta/options.lua
parent164338330b74e6e7c7cbb61e49c810dd82599236 (diff)
downloadrneovim-c2e836c41cabef3c5e269b5f6401f272112c75e1.tar.gz
rneovim-c2e836c41cabef3c5e269b5f6401f272112c75e1.tar.bz2
rneovim-c2e836c41cabef3c5e269b5f6401f272112c75e1.zip
vim-patch:2a2c4ff: runtime(doc): clarify how fuzzy 'completeopt' should work
related: vim/vim#14912 https://github.com/vim/vim/commit/2a2c4fffd7e04f74b316209404767f128684a9e1 Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
-rw-r--r--runtime/lua/vim/_meta/options.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index 92c54c397f..0b4294ae4b 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -1076,7 +1076,10 @@ vim.bo.cfu = vim.bo.completefunc
--- 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.
+--- 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"