diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-03-11 14:44:18 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-03-11 14:44:18 +0100 |
commit | 12a96de430779b88795fac87a2be666d9f661d1e (patch) | |
tree | 141184af18ba4ae4f2c61dd1a2aa4961446ba370 /src/vim.h | |
parent | 435acdb88c849c6bac44ef30f24f29618b36af50 (diff) |
patch 8.0.1595: no autocommand triggered before exitingv8.0.1595
Problem: No autocommand triggered before exiting.
Solution: Add the ExitPre autocommand event.
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1277,6 +1277,7 @@ enum auto_event EVENT_COLORSCHEME, /* after loading a colorscheme */ EVENT_COMPLETEDONE, /* after finishing insert complete */ EVENT_DIRCHANGED, /* after changing directory as a result of user cmd */ + EVENT_EXITPRE, /* before exiting */ EVENT_FILEAPPENDPOST, /* after appending to a file */ EVENT_FILEAPPENDPRE, /* before appending to a file */ EVENT_FILEAPPENDCMD, /* append to a file using command */ |