Commit: runtime(doc): Add reference to 'wildoptions' in fuzzy-matching docs

1 view
Skip to first unread message

Christian Brabandt

unread,
Oct 9, 2025, 4:15:15 PMOct 9
to vim...@googlegroups.com
runtime(doc): Add reference to 'wildoptions' in fuzzy-matching docs

Commit: https://github.com/vim/vim/commit/1388fa62d25181df85c4460d6ecdc6c417c016df
Author: Yee Cheng Chin <ychi...@gmail.com>
Date: Thu Oct 9 20:09:56 2025 +0000

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 <ychi...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt
index 57bcb2427..3d12d8ecb 100644
--- a/runtime/doc/pattern.txt
+++ b/runtime/doc/pattern.txt
@@ -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:
Reply all
Reply to author
Forward
0 new messages