Commit: runtime(doc): make :h 'completefuzzycollect' a bit clearer

1 view
Skip to first unread message

Christian Brabandt

unread,
Mar 13, 2025, 4:45:11 PM3/13/25
to vim...@googlegroups.com
runtime(doc): make :h 'completefuzzycollect' a bit clearer

Commit: https://github.com/vim/vim/commit/1dc731a49ff5d06ead4b506afa04288a5baafc1a
Author: zeertzjq <zeer...@outlook.com>
Date: Thu Mar 13 21:30:10 2025 +0100

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: #16871

Signed-off-by: zeertzjq <zeer...@outlook.com>
Signed-off-by: glepnir <gleph...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index c2ad86e0e..75fa1cb9e 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 9.1. Last change: 2025 Mar 12
+*options.txt* For Vim version 9.1. Last change: 2025 Mar 13


VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2107,11 +2107,11 @@ A jump table for the options with a short description can be found at |Q_op|.
*'completefuzzycollect'* *'cfc'*
'completefuzzycollect' 'cfc' string (default: empty)
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
Reply all
Reply to author
Forward
0 new messages