aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-03-11 06:49:32 +0800
committerGitHub <noreply@github.com>2025-03-11 06:49:32 +0800
commit1f49a59b8bde0aeb3a1ef754bcb3724d9af241bb (patch)
tree8b012c93d75b05d50438d861ee30b21f9e7ed6dc /runtime
parent0ef1147313caa47c87c7baa79043ddcff55ef5e1 (diff)
downloadrneovim-1f49a59b8bde0aeb3a1ef754bcb3724d9af241bb.tar.gz
rneovim-1f49a59b8bde0aeb3a1ef754bcb3724d9af241bb.tar.bz2
rneovim-1f49a59b8bde0aeb3a1ef754bcb3724d9af241bb.zip
fix(events): fix incorrect capitalization of Cmdwin* events (#32813)
The name of Cmdwin* events were changed to CmdWin* in 8ed2dbf6e2802516501c11e72e5d6d977e6a07f3 without explanation. This commit changes them back. This doesn't affect the creation or execution of autocommands. It only affects the listing of autocommands.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/cmdline.txt4
-rw-r--r--runtime/doc/vim_diff.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt
index 45a95e439a..fba49b6c7e 100644
--- a/runtime/doc/cmdline.txt
+++ b/runtime/doc/cmdline.txt
@@ -1226,8 +1226,8 @@ Thus you can resize the command-line window, but not others.
The |getcmdwintype()| function returns the type of the command-line being
edited as described in |cmdwin-char|.
-Nvim defines this default CmdWinEnter autocmd in the "nvim.cmdwin" group: >
- autocmd CmdWinEnter [:>] syntax sync minlines=1 maxlines=1
+Nvim defines this default CmdwinEnter autocmd in the "nvim.cmdwin" group: >
+ autocmd CmdwinEnter [:>] syntax sync minlines=1 maxlines=1
<
You can disable this in your config with "autocmd! nvim.cmdwin". |default-autocmds|
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index 8d8b97fe31..9bd23313e3 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -771,8 +771,8 @@ Options:
noremap <C-\><C-G> <C-\><C-N><Cmd>startinsert<CR>
cnoremap <C-\><C-G> <C-\><C-N><Cmd>startinsert<CR>
inoremap <C-\><C-G> <C-X><C-Z>
- autocmd CmdWinEnter * noremap <buffer> <C-C> <C-C>
- autocmd CmdWinEnter * inoremap <buffer> <C-C> <C-C>
+ autocmd CmdwinEnter * noremap <buffer> <C-C> <C-C>
+ autocmd CmdwinEnter * inoremap <buffer> <C-C> <C-C>
lua << EOF
vim.on_key(function(c)