]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): Add reference to 'wildoptions' in fuzzy-matching docs
authorYee Cheng Chin <ychin.git@gmail.com>
Thu, 9 Oct 2025 20:09:56 +0000 (20:09 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 9 Oct 2025 20:09:56 +0000 (20:09 +0000)
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>
runtime/doc/pattern.txt

index 57bcb2427770918739df8d9111cda9990be18f25..3d12d8ecb6652d03beede2cd8158a1d3799951da 100644 (file)
@@ -1,4 +1,4 @@
-*pattern.txt*   For Vim version 9.1.  Last change: 2025 Oct 05
+*pattern.txt*   For Vim version 9.1.  Last change: 2025 Oct 09
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -1550,7 +1550,8 @@ a List of strings.  |matchfuzzy()| returns the matching strings, while
 
 The "f" flag of `:vimgrep` enables fuzzy matching.
 
-To enable fuzzy matching for |ins-completion|, add the "fuzzy" value to the
-'completeopt' option.
+To enable fuzzy matching for |ins-completion|, add "fuzzy" to the
+'completeopt' option.  For |cmdline-completion|, add "fuzzy" to the
+'wildoptions' option.
 
  vim:tw=78:ts=8:noet:ft=help:norl: