summaryrefslogtreecommitdiffstats
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-11 19:30:34 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-11 19:30:34 +0100
commit100118c73ac068137cd298d22953896242752523 (patch)
tree4d9312af425ba7ccfd334237df32980d0f6ab8d6 /src/vim.h
parent1b884a0053982335f644eec6c71027706bf3c522 (diff)
patch 8.2.2128: there is no way to do something on CTRL-Zv8.2.2128
Problem: There is no way to do something on CTRL-Z. Solution: Add VimSuspend and VimResume autocommand events. (closes #7450)
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index eda07348c0..d6c1f46e14 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -1344,6 +1344,8 @@ enum auto_event
EVENT_WINENTER, // after entering a window
EVENT_WINLEAVE, // before leaving a window
EVENT_WINNEW, // when entering a new window
+ EVENT_VIMSUSPEND, // before Vim is suspended
+ EVENT_VIMRESUME, // after Vim is resumed
NUM_EVENTS // MUST be the last one
};