aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-10-17 09:51:09 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-10-17 09:51:09 +0200
commitaff64b3a52d3d897c5c88270c8e78ba3d02c52f7 (patch)
treec49fbfe8219d7e13e702ca881f9b869345e638d7 /src/nvim/ex_getln.c
parent9642903dea68c614038b134a3806d31af032fe77 (diff)
parent9c2d5f1a33ccf3838899425ede481c6cdb00acb5 (diff)
downloadrneovim-aff64b3a52d3d897c5c88270c8e78ba3d02c52f7.tar.gz
rneovim-aff64b3a52d3d897c5c88270c8e78ba3d02c52f7.tar.bz2
rneovim-aff64b3a52d3d897c5c88270c8e78ba3d02c52f7.zip
Merge #9124 'vim-patch:8.0.1672'
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 247b9175aa..f40131177e 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -510,6 +510,10 @@ static int command_line_check(VimState *state)
// completion may switch it on.
quit_more = false; // reset after CTRL-D which had a more-prompt
+ did_emsg = false; // There can't really be a reason why an error
+ // that occurs while typing a command should
+ // cause the command not to be executed.
+
cursorcmd(); // set the cursor on the right spot
ui_cursor_shape();
return 1;