aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-13 01:50:58 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-26 02:34:13 -0500
commit44bb7147e40743d9a70ee3a2663a7a7dacec7b13 (patch)
tree5f8913cf05a046d2ec23840915d8bb1884db768f /src/nvim/main.c
parent4afddb8f571d9e61eab60596c59a27452e9bc839 (diff)
downloadrneovim-44bb7147e40743d9a70ee3a2663a7a7dacec7b13.tar.gz
rneovim-44bb7147e40743d9a70ee3a2663a7a7dacec7b13.tar.bz2
rneovim-44bb7147e40743d9a70ee3a2663a7a7dacec7b13.zip
vim-patch:8.1.1192: mode is not cleared when leaving Insert mode with mapped Esc
Problem: Mode is not cleared when leaving Insert mode with mapped Esc. Solution: Clear the mode when redraw_cmdline is set. (closes vim/vim#4269) https://github.com/vim/vim/commit/4c25bd785aa8b565bf973cbba12ed36b76daaa4f
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 8bf745966e..e068b2361c 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -2006,7 +2006,7 @@ static void version(void)
info_message = TRUE; // use mch_msg(), not mch_errmsg()
list_version();
msg_putchar('\n');
- msg_didout = FALSE;
+ msg_didout = false;
}
/// Prints help message for "nvim -h" or "nvim --help".