Skip to content

Commit 1388fa6

Browse files
ychinchrisbra
authored andcommitted
runtime(doc): Add reference to 'wildoptions' in fuzzy-matching docs
The docs for fuzzy matching seems to try to list every possible use case, but misses this one. It's a good idea to be consistent. closes: #18525 Signed-off-by: Yee Cheng Chin <ychin.git@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent 6783021 commit 1388fa6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

runtime/doc/pattern.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pattern.txt* For Vim version 9.1. Last change: 2025 Oct 05
1+
*pattern.txt* For Vim version 9.1. Last change: 2025 Oct 09
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1550,7 +1550,8 @@ a List of strings. |matchfuzzy()| returns the matching strings, while
15501550

15511551
The "f" flag of `:vimgrep` enables fuzzy matching.
15521552

1553-
To enable fuzzy matching for |ins-completion|, add the "fuzzy" value to the
1554-
'completeopt' option.
1553+
To enable fuzzy matching for |ins-completion|, add "fuzzy" to the
1554+
'completeopt' option. For |cmdline-completion|, add "fuzzy" to the
1555+
'wildoptions' option.
15551556

15561557
vim:tw=78:ts=8:noet:ft=help:norl:

0 commit comments

Comments
 (0)