diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-12-07 21:17:12 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-07 21:17:12 -0500 |
| commit | 5abd7c2c1487976f538ce510b06497fffd7e5252 (patch) | |
| tree | 968e8b5ae41484a324e9b240f42e295d6100013f /src/nvim/screen.c | |
| parent | be768be6b7ee896277971593e9287a86bc41efb2 (diff) | |
| parent | 361f548437a0a9b620db620356fdd405d24a7b34 (diff) | |
| download | rneovim-5abd7c2c1487976f538ce510b06497fffd7e5252.tar.gz rneovim-5abd7c2c1487976f538ce510b06497fffd7e5252.tar.bz2 rneovim-5abd7c2c1487976f538ce510b06497fffd7e5252.zip | |
Merge pull request #16421 from seandewar/vim-8.1.0035
vim-patch:8.1.{35,42,64},8.2.{1781,1783,1976,2014,3671}
Diffstat (limited to 'src/nvim/screen.c')
| -rw-r--r-- | src/nvim/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 4146ae0fe3..a666b9c8b0 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -6932,7 +6932,7 @@ int showmode(void) do_mode = ((p_smd && msg_silent == 0) && ((State & TERM_FOCUS) || (State & INSERT) - || restart_edit + || restart_edit != NUL || VIsual_active)); if (do_mode || reg_recording != 0) { // Don't show mode right now, when not redrawing or inside a mapping. @@ -7012,7 +7012,7 @@ int showmode(void) } msg_puts_attr(_(" INSERT"), attr); } else if (restart_edit == 'I' || restart_edit == 'i' - || restart_edit == 'a') { + || restart_edit == 'a' || restart_edit == 'A') { msg_puts_attr(_(" (insert)"), attr); } else if (restart_edit == 'R') { msg_puts_attr(_(" (replace)"), attr); |