From f7deb815b0b3f326a4b3b5b983da87e46df4f477 Mon Sep 17 00:00:00 2001 From: Girish Palya Date: Wed, 6 Aug 2025 20:53:33 +0200 Subject: [PATCH] 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 Signed-off-by: Christian Brabandt --- runtime/doc/builtin.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 84a672cb0e..02264ea4e5 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): >