]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): fix typo at :h cmdline-autocompletion
authorGirish Palya <girishji@gmail.com>
Wed, 6 Aug 2025 18:53:33 +0000 (20:53 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 6 Aug 2025 18:53:33 +0000 (20:53 +0200)
The '?' needs to be escaped, because the autocommand is using
file-patterns (glob like) and not a regex). See :h file-pattern

closes: #17890

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/builtin.txt

index 84a672cb0eb60d41ce532acda26850c1b68cd470..02264ea4e559073b812ab32aa2a1c944bd491c45 100644 (file)
@@ -12347,7 +12347,7 @@ wildtrigger()                                           *wildtrigger()*
                                                *cmdline-autocompletion*
                Example: To make the completion menu pop up automatically as
                you type on the command line, use: >
-                       autocmd CmdlineChanged [:/?] call wildtrigger()
+                       autocmd CmdlineChanged [:/\?] call wildtrigger()
                        set wildmode=noselect:lastused,full wildoptions=pum
 <
                To retain normal history navigation (up/down keys): >