From 1f49a59b8bde0aeb3a1ef754bcb3724d9af241bb Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 11 Mar 2025 06:49:32 +0800 Subject: 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. --- runtime/doc/cmdline.txt | 4 ++-- runtime/doc/vim_diff.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'runtime') 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 startinsert cnoremap startinsert inoremap - autocmd CmdWinEnter * noremap - autocmd CmdWinEnter * inoremap + autocmd CmdwinEnter * noremap + autocmd CmdwinEnter * inoremap lua << EOF vim.on_key(function(c) -- cgit