From 27548e3cd04a789951decfe6de55f9cf88f516c4 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Thu, 31 Dec 2020 15:40:06 -0500 Subject: Revert "vim-patch:8.1.1189: mode is not cleared when leaving Insert mode" This reverts commit 4afddb8f571d9e61eab60596c59a27452e9bc839. --- src/nvim/edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/edit.c') diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 962ef9b245..fb06fc8859 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -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 -- cgit