aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-03-14 06:33:35 +0800
committerzeertzjq <zeertzjq@outlook.com>2025-03-27 07:26:42 +0800
commit5975ddbdb85073ce055a24915de7f6960e201dc4 (patch)
treed971d9d8057aee98e5a598c78fa3750d7a36b9c6
parent28f61994748e1edd5fb1755ddf2e5ca1324b5635 (diff)
downloadrneovim-5975ddbdb85073ce055a24915de7f6960e201dc4.tar.gz
rneovim-5975ddbdb85073ce055a24915de7f6960e201dc4.tar.bz2
rneovim-5975ddbdb85073ce055a24915de7f6960e201dc4.zip
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 https://github.com/vim/vim/commit/1dc731a49ff5d06ead4b506afa04288a5baafc1a
-rw-r--r--runtime/doc/options.txt10
-rw-r--r--runtime/lua/vim/_meta/options.lua10
-rw-r--r--src/nvim/options.lua10
3 files changed, 15 insertions, 15 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index ea9fe7e71a..9f084c5d44 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1520,11 +1520,11 @@ A jump table for the options with a short description can be found at |Q_op|.
*'completefuzzycollect'* *'cfc'*
'completefuzzycollect' 'cfc' string (default "")
global
- A comma-separated list of option enables fuzzy collection for specific
- |ins-completion| modes, affecting how items are gathered during
- completion. When set, fuzzy matching is used to find completion
- candidates instead of the standard prefix-based matching. This option
- can contain the following values are:
+ A comma-separated list of strings to enable fuzzy collection for
+ specific |ins-completion| modes, affecting how matches are gathered
+ during completion. For specified modes, fuzzy matching is used to
+ find completion candidates instead of the standard prefix-based
+ matching. This option can contain the following values:
keyword keywords in the current file |i_CTRL-X_CTRL-N|
keywords with the ".", "w", "b", "u", "U" and
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index e1e793b533..a3cb5042aa 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -1044,11 +1044,11 @@ vim.o.cfu = vim.o.completefunc
vim.bo.completefunc = vim.o.completefunc
vim.bo.cfu = vim.bo.completefunc
---- A comma-separated list of option enables fuzzy collection for specific
---- `ins-completion` modes, affecting how items are gathered during
---- completion. When set, fuzzy matching is used to find completion
---- candidates instead of the standard prefix-based matching. This option
---- can contain the following values are:
+--- A comma-separated list of strings to enable fuzzy collection for
+--- specific `ins-completion` modes, affecting how matches are gathered
+--- during completion. For specified modes, fuzzy matching is used to
+--- find completion candidates instead of the standard prefix-based
+--- matching. This option can contain the following values:
---
--- keyword keywords in the current file `i_CTRL-X_CTRL-N`
--- keywords with the ".", "w", "b", "u", "U" and
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 1a66b32ccc..96548580ba 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -1466,11 +1466,11 @@ local options = {
flags = true,
deny_duplicates = true,
desc = [=[
- A comma-separated list of option enables fuzzy collection for specific
- |ins-completion| modes, affecting how items are gathered during
- completion. When set, fuzzy matching is used to find completion
- candidates instead of the standard prefix-based matching. This option
- can contain the following values are:
+ A comma-separated list of strings to enable fuzzy collection for
+ specific |ins-completion| modes, affecting how matches are gathered
+ during completion. For specified modes, fuzzy matching is used to
+ find completion candidates instead of the standard prefix-based
+ matching. This option can contain the following values:
keyword keywords in the current file |i_CTRL-X_CTRL-N|
keywords with the ".", "w", "b", "u", "U" and