forked from aniani/vim
patch 8.2.3430: no generic way to trigger an autocommand on mode change
Problem: No generic way to trigger an autocommand on mode change. Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes #8856)
This commit is contained in:
committed by
Bram Moolenaar
parent
464393a696
commit
f1e8876fa2
@@ -485,6 +485,7 @@ do_exmode(
|
||||
else
|
||||
exmode_active = EXMODE_NORMAL;
|
||||
State = NORMAL;
|
||||
trigger_modechanged();
|
||||
|
||||
// When using ":global /pat/ visual" and then "Q" we return to continue
|
||||
// the :global command.
|
||||
|
Reference in New Issue
Block a user