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)
4c25bd785a
This commit is contained in:
Jan Edmund Lazo
2020-12-13 01:50:58 -05:00
parent 4afddb8f57
commit 44bb7147e4
12 changed files with 121 additions and 35 deletions

View File

@@ -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".