feat: trigger ModeChanged for terminal modes

This commit is contained in:
Magnus Groß
2021-10-23 20:55:52 +02:00
parent 11683193f5
commit fdfd1eda43
2 changed files with 32 additions and 0 deletions

View File

@@ -412,6 +412,7 @@ void terminal_enter(void)
curwin->w_redr_status = true; // For mode() in statusline. #8323
ui_busy_start();
apply_autocmds(EVENT_TERMENTER, NULL, NULL, false, curbuf);
trigger_modechanged();
s->state.execute = terminal_execute;
s->state.check = terminal_check;