diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-08-07 06:33:28 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2025-08-07 06:33:51 +0800 |
| commit | 654cde369d491160cd856b9e45ad4facabacfb54 (patch) | |
| tree | bd255446fd291dfc1a432bb58b45543386f0c805 /runtime/lua/vim/_meta/vimfn.lua | |
| parent | cc25cd2cb78574cf187b3ac778ac6eac7e6b6c93 (diff) | |
| download | rneovim-654cde369d491160cd856b9e45ad4facabacfb54.tar.gz rneovim-654cde369d491160cd856b9e45ad4facabacfb54.tar.bz2 rneovim-654cde369d491160cd856b9e45ad4facabacfb54.zip | |
vim-patch:f7deb81: 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: vim/vim#17890
https://github.com/vim/vim/commit/f7deb815b0b3f326a4b3b5b983da87e46df4f477
Co-authored-by: Girish Palya <girishji@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
| -rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index a5d7c5c4ea..3fdc45eaf6 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -10837,7 +10837,7 @@ function vim.fn.wildmenumode() end --- *cmdline-autocompletion* --- Example: To make the completion menu pop up automatically as --- you type on the command line, use: >vim ---- autocmd CmdlineChanged [:/?] call wildtrigger() +--- autocmd CmdlineChanged [:/\?] call wildtrigger() --- set wildmode=noselect:lastused,full wildoptions=pum --- < --- To retain normal history navigation (up/down keys): >vim |