diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-26 03:38:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-26 03:38:54 -0500 |
commit | c64cce906e7ed828d331e1786c985ff7aa734546 (patch) | |
tree | 5f8913cf05a046d2ec23840915d8bb1884db768f /src/nvim/edit.c | |
parent | 84faeb07d0018c674c2bc730333fefae6123f366 (diff) | |
parent | 44bb7147e40743d9a70ee3a2663a7a7dacec7b13 (diff) | |
download | rneovim-c64cce906e7ed828d331e1786c985ff7aa734546.tar.gz rneovim-c64cce906e7ed828d331e1786c985ff7aa734546.tar.bz2 rneovim-c64cce906e7ed828d331e1786c985ff7aa734546.zip |
Merge pull request #10848 from janlazo/vim-8.1.1189
vim-patch:8.1.{822,1189,1192}
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index ec424c12da..ebbb6e803a 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) { + } else if (p_smd && (got_int || !skip_showmode())) { MSG(""); } // Exit Insert mode |