From 1388fa62d25181df85c4460d6ecdc6c417c016df Mon Sep 17 00:00:00 2001 From: Yee Cheng Chin Date: Thu, 9 Oct 2025 20:09:56 +0000 Subject: [PATCH] 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 Signed-off-by: Christian Brabandt --- runtime/doc/pattern.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt index 57bcb24277..3d12d8ecb6 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: