From f81014f25cc1cdb31fa2e21ad824d1d5393fa750 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 10 Oct 2025 06:52:52 +0800 Subject: [PATCH] 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 --- runtime/doc/pattern.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt index 7590e0c08a..150854e342 100644 --- 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: