summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-16 21:58:13 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-16 21:58:13 +0200
commit69198cb8c08f124729c41a4681f2d142228a9139 (patch)
tree12b2ba27e1239074e4bcb1f6f6524d23ab996158 /src/vim.h
parentdac1347b4d9c1a1aef6aa73fdea08a9d1077d6ea (diff)
downloadvim-git-69198cb8c08f124729c41a4681f2d142228a9139.tar.gz
patch 8.1.2046: SafeState may be triggered at the wrong momentv8.1.2046
Problem: SafeState may be triggered at the wrong moment. Solution: Move it up higher to after where messages are processed. Add a SafeStateAgain event to tigger there.
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index 4b817c599..8bfbcaf9f 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -1316,6 +1316,7 @@ enum auto_event
EVENT_QUITPRE, // before :quit
EVENT_REMOTEREPLY, // upon string reception from a remote vim
EVENT_SAFESTATE, // going to wait for a character
+ EVENT_SAFESTATEAGAIN, // still waiting for a character
EVENT_SESSIONLOADPOST, // after loading a session file
EVENT_SHELLCMDPOST, // after ":!cmd"
EVENT_SHELLFILTERPOST, // after ":1,2!cmd", ":w !cmd", ":r !cmd".