diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-11-05 17:34:21 -0800 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-11-05 17:34:21 -0800 |
commit | 3e21d498362f8cfff7ee467be6402fb00a53eeb5 (patch) | |
tree | cffcd0e03a35fc4f8496e1eac084913c31bc5a1e /src/nvim/ex_getln.c | |
parent | 610755ff62049bd38cc72524a26ac0a27d951c3c (diff) | |
parent | 4f124702c079fba4502b077c8c832538c0f0b386 (diff) | |
download | rneovim-3e21d498362f8cfff7ee467be6402fb00a53eeb5.tar.gz rneovim-3e21d498362f8cfff7ee467be6402fb00a53eeb5.tar.bz2 rneovim-3e21d498362f8cfff7ee467be6402fb00a53eeb5.zip |
Merge #11319 'inccommand: fix issues with modifiers and prompting'
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index f2665ca0b5..9e2671ca5e 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -1927,7 +1927,9 @@ static int command_line_changed(CommandLineState *s) // - Immediately undo the effects. State |= CMDPREVIEW; emsg_silent++; // Block error reporting as the command may be incomplete + msg_silent++; // Block messages, namely ones that prompt do_cmdline(ccline.cmdbuff, NULL, NULL, DOCMD_KEEPLINE|DOCMD_NOWAIT); + msg_silent--; // Unblock messages emsg_silent--; // Unblock error reporting // Restore the window "view". |