diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-06-06 18:03:07 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-06-06 18:03:07 +0200 |
commit | 3b53dfb3b0743af7d6ae381a766e1bb2018fd01e (patch) | |
tree | 41df451925805c0f5e3fa03fa55e7fd252ae7c42 /src/vim.h | |
parent | ab984db2969c3f522eb4da694a954cbe6cec7797 (diff) | |
download | vim-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.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 */ |