diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-31 15:38:45 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-31 16:44:53 -0500 |
commit | 723e009214ab321ad75051d3c36e3379b1c5e5a8 (patch) | |
tree | 10e57056695804f3479176d28fc62f77b56bf20f /src/nvim/ex_getln.c | |
parent | 74b343a6f23de43590ab79750848f66e2fa9a7f7 (diff) | |
download | rneovim-723e009214ab321ad75051d3c36e3379b1c5e5a8.tar.gz rneovim-723e009214ab321ad75051d3c36e3379b1c5e5a8.tar.bz2 rneovim-723e009214ab321ad75051d3c36e3379b1c5e5a8.zip |
Revert "vim-patch:8.1.1192: mode is not cleared when leaving Insert mode with mapped Esc"
This reverts commit 44bb7147e40743d9a70ee3a2663a7a7dacec7b13.
Avoid regression mentioned in https://github.com/neovim/neovim/commit/c64cce906e7ed828d331e1786c985ff7aa734546#commitcomment-45554271
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 0bc52f1e97..49a3c6e4b8 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -2746,8 +2746,8 @@ redraw: no_mapping--; - // make following messages go to the next line - msg_didout = false; + /* make following messages go to the next line */ + msg_didout = FALSE; msg_col = 0; if (msg_row < Rows - 1) { msg_row++; |