Revert "vim-patch:8.1.1189: mode is not cleared when leaving Insert mode"

This reverts commit 4afddb8f57.
This commit is contained in:
Jan Edmund Lazo
2020-12-31 15:40:06 -05:00
parent 723e009214
commit 27548e3cd0
3 changed files with 2 additions and 33 deletions

View File

@@ -7803,7 +7803,7 @@ static bool ins_esc(long *count, int cmdchar, bool nomove)
// Otherwise remove the mode message.
if (reg_recording != 0 || restart_edit != NUL) {
showmode();
} else if (p_smd && (got_int || !skip_showmode())) {
} else if (p_smd && !skip_showmode()) {
MSG("");
}
// Exit Insert mode