commit f81014f25cc1cdb31fa2e21ad824d1d5393fa750
parent ec8405c473022c0bab26e8c0e3d686832797c29f
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri, 10 Oct 2025 06:52:52 +0800
vim-patch:1388fa6: 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: vim/vim#18525
https://github.com/vim/vim/commit/1388fa62d25181df85c4460d6ecdc6c417c016df
Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt
@@ -1529,7 +1529,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: