mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
vim-patch:1dc731a: runtime(doc): make :h 'completefuzzycollect' a bit clearer
- Fix grammar
- Use "matches" instead of "items" ("completion candidates" is used in
some other places, but it's a bit verbose)
- "When set" is a bit vague, instead use "For specified modes"
closes: vim/vim#16871
1dc731a49f
This commit is contained in:
@@ -1520,11 +1520,11 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*'completefuzzycollect'* *'cfc'*
|
*'completefuzzycollect'* *'cfc'*
|
||||||
'completefuzzycollect' 'cfc' string (default "")
|
'completefuzzycollect' 'cfc' string (default "")
|
||||||
global
|
global
|
||||||
A comma-separated list of option enables fuzzy collection for specific
|
A comma-separated list of strings to enable fuzzy collection for
|
||||||
|ins-completion| modes, affecting how items are gathered during
|
specific |ins-completion| modes, affecting how matches are gathered
|
||||||
completion. When set, fuzzy matching is used to find completion
|
during completion. For specified modes, fuzzy matching is used to
|
||||||
candidates instead of the standard prefix-based matching. This option
|
find completion candidates instead of the standard prefix-based
|
||||||
can contain the following values are:
|
matching. This option can contain the following values:
|
||||||
|
|
||||||
keyword keywords in the current file |i_CTRL-X_CTRL-N|
|
keyword keywords in the current file |i_CTRL-X_CTRL-N|
|
||||||
keywords with the ".", "w", "b", "u", "U" and
|
keywords with the ".", "w", "b", "u", "U" and
|
||||||
|
10
runtime/lua/vim/_meta/options.lua
generated
10
runtime/lua/vim/_meta/options.lua
generated
@@ -1044,11 +1044,11 @@ vim.o.cfu = vim.o.completefunc
|
|||||||
vim.bo.completefunc = vim.o.completefunc
|
vim.bo.completefunc = vim.o.completefunc
|
||||||
vim.bo.cfu = vim.bo.completefunc
|
vim.bo.cfu = vim.bo.completefunc
|
||||||
|
|
||||||
--- A comma-separated list of option enables fuzzy collection for specific
|
--- A comma-separated list of strings to enable fuzzy collection for
|
||||||
--- `ins-completion` modes, affecting how items are gathered during
|
--- specific `ins-completion` modes, affecting how matches are gathered
|
||||||
--- completion. When set, fuzzy matching is used to find completion
|
--- during completion. For specified modes, fuzzy matching is used to
|
||||||
--- candidates instead of the standard prefix-based matching. This option
|
--- find completion candidates instead of the standard prefix-based
|
||||||
--- can contain the following values are:
|
--- matching. This option can contain the following values:
|
||||||
---
|
---
|
||||||
--- keyword keywords in the current file `i_CTRL-X_CTRL-N`
|
--- keyword keywords in the current file `i_CTRL-X_CTRL-N`
|
||||||
--- keywords with the ".", "w", "b", "u", "U" and
|
--- keywords with the ".", "w", "b", "u", "U" and
|
||||||
|
@@ -1466,11 +1466,11 @@ local options = {
|
|||||||
flags = true,
|
flags = true,
|
||||||
deny_duplicates = true,
|
deny_duplicates = true,
|
||||||
desc = [=[
|
desc = [=[
|
||||||
A comma-separated list of option enables fuzzy collection for specific
|
A comma-separated list of strings to enable fuzzy collection for
|
||||||
|ins-completion| modes, affecting how items are gathered during
|
specific |ins-completion| modes, affecting how matches are gathered
|
||||||
completion. When set, fuzzy matching is used to find completion
|
during completion. For specified modes, fuzzy matching is used to
|
||||||
candidates instead of the standard prefix-based matching. This option
|
find completion candidates instead of the standard prefix-based
|
||||||
can contain the following values are:
|
matching. This option can contain the following values:
|
||||||
|
|
||||||
keyword keywords in the current file |i_CTRL-X_CTRL-N|
|
keyword keywords in the current file |i_CTRL-X_CTRL-N|
|
||||||
keywords with the ".", "w", "b", "u", "U" and
|
keywords with the ".", "w", "b", "u", "U" and
|
||||||
|
Reference in New Issue
Block a user