1
0
forked from aniani/vim

patch 8.1.2044: no easy way to process postponed work

Problem:    No easy way to process postponed work. (Paul Jolly)
Solution:   Add the SafeState autocommand event.
This commit is contained in:
Bram Moolenaar
2019-09-15 23:02:04 +02:00
parent ea8dcf8346
commit 8aeec40207
9 changed files with 126 additions and 11 deletions

View File

@@ -1315,6 +1315,7 @@ enum auto_event
EVENT_QUICKFIXCMDPRE, // before :make, :grep etc.
EVENT_QUITPRE, // before :quit
EVENT_REMOTEREPLY, // upon string reception from a remote vim
EVENT_SAFESTATE, // going to wait for a character
EVENT_SESSIONLOADPOST, // after loading a session file
EVENT_SHELLCMDPOST, // after ":!cmd"
EVENT_SHELLFILTERPOST, // after ":1,2!cmd", ":w !cmd", ":r !cmd".