diff options
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 bfd63aab7a..5ac95b64e7 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -7494,7 +7494,7 @@ static bool ins_esc(long *count, int cmdchar, bool nomove) // When recording or for CTRL-O, need to display the new mode. // Otherwise remove the mode message. - if (Recording || restart_edit != NUL) { + if (reg_recording != 0 || restart_edit != NUL) { showmode(); } else if (p_smd) { MSG(""); |