summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-06-06 18:03:07 +0200
committerBram Moolenaar <Bram@vim.org>2012-06-06 18:03:07 +0200
commit3b53dfb3b0743af7d6ae381a766e1bb2018fd01e (patch)
tree41df451925805c0f5e3fa03fa55e7fd252ae7c42 /src/vim.h
parentab984db2969c3f522eb4da694a954cbe6cec7797 (diff)
downloadvim-3b53dfb3b0743af7d6ae381a766e1bb2018fd01e.zip
updated for version 7.3.544
Problem: There is no good way to close a quickfix window when closing the last ordinary window. Solution: Add the QuitPre autocommand.
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vim.h b/src/vim.h
index d63551d8a..41aba5d85 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -1264,8 +1264,9 @@ enum auto_event
EVENT_INSERTENTER, /* when entering Insert mode */
EVENT_INSERTLEAVE, /* when leaving Insert mode */
EVENT_MENUPOPUP, /* just before popup menu is displayed */
- EVENT_QUICKFIXCMDPOST, /* after :make, :grep etc */
- EVENT_QUICKFIXCMDPRE, /* before :make, :grep etc */
+ EVENT_QUICKFIXCMDPOST, /* after :make, :grep etc. */
+ EVENT_QUICKFIXCMDPRE, /* before :make, :grep etc. */
+ EVENT_QUITPRE, /* before :quit */
EVENT_SESSIONLOADPOST, /* after loading a session file */
EVENT_STDINREADPOST, /* after reading from stdin */
EVENT_STDINREADPRE, /* before reading from stdin */