summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-10-19 18:35:51 +0200
committerBram Moolenaar <Bram@vim.org>2017-10-19 18:35:51 +0200
commitfafcf0dd59fd9c4ef743bb333ae40d1d322b6079 (patch)
tree15b885e7fe89b2cdcf70c2eb33456db7f1f79b77 /src/vim.h
parentff930cad8a9100eeb04256aab1a14de993c1d7e9 (diff)
downloadvim-git-fafcf0dd59fd9c4ef743bb333ae40d1d322b6079.tar.gz
patch 8.0.1206: no autocmd for entering or leaving the command linev8.0.1206
Problem: No autocmd for entering or leaving the command line. Solution: Add CmdlineEnter and CmdlineLeave.
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 11b7b0838..ed12b072f 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -1295,6 +1295,8 @@ enum auto_event
EVENT_BUFWRITEPOST, /* after writing a buffer */
EVENT_BUFWRITEPRE, /* before writing a buffer */
EVENT_BUFWRITECMD, /* write buffer using command */
+ EVENT_CMDLINEENTER, /* after entering the command line */
+ EVENT_CMDLINELEAVE, /* before leaving the command line */
EVENT_CMDWINENTER, /* after entering the cmdline window */
EVENT_CMDWINLEAVE, /* before leaving the cmdline window */
EVENT_COLORSCHEME, /* after loading a colorscheme */