mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
164338330b
commit
c2e836c41c
@ -1532,7 +1532,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
fuzzy Enable |fuzzy-matching| for completion candidates. This
|
fuzzy Enable |fuzzy-matching| for completion candidates. This
|
||||||
allows for more flexible and intuitive matching, where
|
allows for more flexible and intuitive matching, where
|
||||||
characters can be skipped and matches can be found even
|
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).
|
||||||
|
|
||||||
*'completeslash'* *'csl'*
|
*'completeslash'* *'csl'*
|
||||||
'completeslash' 'csl' string (default "")
|
'completeslash' 'csl' string (default "")
|
||||||
|
5
runtime/lua/vim/_meta/options.lua
generated
5
runtime/lua/vim/_meta/options.lua
generated
@ -1076,7 +1076,10 @@ vim.bo.cfu = vim.bo.completefunc
|
|||||||
--- fuzzy Enable `fuzzy-matching` for completion candidates. This
|
--- fuzzy Enable `fuzzy-matching` for completion candidates. This
|
||||||
--- allows for more flexible and intuitive matching, where
|
--- allows for more flexible and intuitive matching, where
|
||||||
--- characters can be skipped and matches can be found even
|
--- 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
|
--- @type string
|
||||||
vim.o.completeopt = "menu,preview"
|
vim.o.completeopt = "menu,preview"
|
||||||
|
@ -1458,7 +1458,10 @@ return {
|
|||||||
fuzzy Enable |fuzzy-matching| for completion candidates. This
|
fuzzy Enable |fuzzy-matching| for completion candidates. This
|
||||||
allows for more flexible and intuitive matching, where
|
allows for more flexible and intuitive matching, where
|
||||||
characters can be skipped and matches can be found even
|
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).
|
||||||
]=],
|
]=],
|
||||||
expand_cb = 'expand_set_completeopt',
|
expand_cb = 'expand_set_completeopt',
|
||||||
full_name = 'completeopt',
|
full_name = 'completeopt',
|
||||||
|
Loading…
Reference in New Issue
Block a user