diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-07-31 19:13:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-31 19:13:45 +0800 |
commit | 380417c1ddbd90b084ed27f321b575de34998a9b (patch) | |
tree | 99171207e25340bc6bb1b3466f5c192d50d03a4f /src/nvim/ex_cmds.c | |
parent | abc087f4c65ca547cae58518b42aee82ff4a07f6 (diff) | |
parent | 2c522854c78d4e02d7337cf0b06174387f7f4583 (diff) | |
download | rneovim-380417c1ddbd90b084ed27f321b575de34998a9b.tar.gz rneovim-380417c1ddbd90b084ed27f321b575de34998a9b.tar.bz2 rneovim-380417c1ddbd90b084ed27f321b575de34998a9b.zip |
Merge pull request #19587 from Shougo/vim-9.0.0114
vim-patch:9.0.{0114,0115,0118}
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 7edf4c5bcb..ab6e3ac2d5 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -3669,7 +3669,7 @@ static int do_sub(exarg_T *eap, proftime_T timeout, long cmdpreview_ns, handle_T } } - bool cmdheight0 = !ui_has_messages(); + const bool cmdheight0 = !ui_has_messages(); if (cmdheight0) { // If cmdheight is 0, cmdheight must be set to 1 when we enter command line. set_option_value("ch", 1L, NULL, 0); |