runtime(doc): fix typo at :h cmdline-autocompletion
Commit:
https://github.com/vim/vim/commit/f7deb815b0b3f326a4b3b5b983da87e46df4f477
Author: Girish Palya <
giri...@gmail.com>
Date: Wed Aug 6 20:53:33 2025 +0200
runtime(doc): fix typo at :h cmdline-autocompletion
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 <
giri...@gmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 84a672cb0..02264ea4e 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -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): >