vim-patch:2a2c4ff: runtime(doc): clarify how fuzzy 'completeopt' should work

related: vim/vim#14912

2a2c4fffd7

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2024-06-05 15:01:23 +08:00
parent 164338330b
commit c2e836c41c
3 changed files with 12 additions and 3 deletions

View File

@@ -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"