diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-08-15 18:38:46 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-15 18:38:46 +0800 |
| commit | d33424983312806fb683eaa6bd720fe418c1299e (patch) | |
| tree | 1b45b1ba5c3fa4ed66dc74dce66acfa27e761524 /src/nvim/edit.c | |
| parent | 9a3877ff9d4db15189b171b4a487d57768abf0a9 (diff) | |
| parent | 55da52963b6e13ecc402b6574cf3bd396d11d23d (diff) | |
| download | rneovim-d33424983312806fb683eaa6bd720fe418c1299e.tar.gz rneovim-d33424983312806fb683eaa6bd720fe418c1299e.tar.bz2 rneovim-d33424983312806fb683eaa6bd720fe418c1299e.zip | |
Merge pull request #19098 from zeertzjq/vim-8.1.0822
vim-patch:8.1.{partial:0822,1189,1192},8.2.5109: 'showmode' fixes
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 7ddff92632..e1473f30c8 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -4251,7 +4251,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 |
