commit c46641fea19f2654220b7317af63a5664646baeb
parent bc0b3f271c3541685cf809db4f23d1d98728726a
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu, 7 Aug 2025 07:15:25 +0800
Merge pull request #35197 from zeertzjq/vim-bb0860a
vim-patch: doc updates
Diffstat:
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
@@ -1017,7 +1017,7 @@ tag command action in Command-line editing mode ~
|c_CTRL-D| CTRL-D list completions that match the pattern in
front of the cursor
|c_CTRL-E| CTRL-E cursor to end of command-line
-'cedit' CTRL-F default value for 'cedit': opens the
+'cedit' CTRL-F default value for 'cedit': opens the
command-line window; otherwise not used
|c_CTRL-G| CTRL-G next match when 'incsearch' is active
|c_<BS>| <BS> delete the character in front of the cursor
diff --git a/runtime/doc/vimfn.txt b/runtime/doc/vimfn.txt
@@ -11905,7 +11905,7 @@ wildtrigger() *wildtrigger()*
*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
diff --git 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
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
@@ -13095,7 +13095,7 @@ M.funcs = {
*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