mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 23:48:32 +00:00
fix(messages): clear 'showmode' message after insert_expand #33607
Problem: 'showmode' ext_messages state is not cleared after insert_expand mode. Solution: Replace empty message with more idiomatic way to clear the showmode.
This commit is contained in:
@@ -3458,7 +3458,7 @@ static bool ins_esc(int *count, int cmdchar, bool nomove)
|
||||
showmode();
|
||||
} else if (p_smd && (got_int || !skip_showmode())
|
||||
&& !(p_ch == 0 && !ui_has(kUIMessages))) {
|
||||
msg("", 0);
|
||||
unshowmode(false);
|
||||
}
|
||||
// Exit Insert mode
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user