aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-31 15:40:06 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-31 16:44:53 -0500
commit27548e3cd04a789951decfe6de55f9cf88f516c4 (patch)
tree97d6c02bf2538cde141c84dca99d73b8c15d9f54 /src/nvim/edit.c
parent723e009214ab321ad75051d3c36e3379b1c5e5a8 (diff)
downloadrneovim-27548e3cd04a789951decfe6de55f9cf88f516c4.tar.gz
rneovim-27548e3cd04a789951decfe6de55f9cf88f516c4.tar.bz2
rneovim-27548e3cd04a789951decfe6de55f9cf88f516c4.zip
Revert "vim-patch:8.1.1189: mode is not cleared when leaving Insert mode"
This reverts commit 4afddb8f571d9e61eab60596c59a27452e9bc839.
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r--src/nvim/edit.c2
1 files changed, 1 insertions, 1 deletions
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