runtime(doc): fix typo at :h cmdline-autocompletion Commit: https://github.com/vim/vim/commit/f7deb815b0b3f326a4b3b5b983da87e46df4f477 Author: Girish Palya <giris...@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 <giris...@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): > -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1ujjMp-00GUcN-MS%40256bit.org.