mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
vim-patch:9.0.0320: command line type of CmdlineChange differs from getcmdtype()
Problem: Command line type of CmdlineChange differs from getcmdtype().
Solution: Use the same type. (closes vim/vim#11005)
54acb90d9e
This commit is contained in:
@@ -4042,7 +4042,7 @@ static int set_cmdline_str(const char *str, int pos)
|
||||
redrawcmd();
|
||||
|
||||
// Trigger CmdlineChanged autocommands.
|
||||
do_autocmd_cmdlinechanged(ccline.cmdfirstc == NUL ? '-' : ccline.cmdfirstc);
|
||||
do_autocmd_cmdlinechanged(get_cmdline_type());
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user