diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-30 15:40:48 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-30 15:40:48 +0200 |
commit | 60a68362aa73f4a6cb534688978f9dc2b16e60fe (patch) | |
tree | 0778d5cc682a5a11b459d5c95a56d36f00cfbbce /src/vim.h | |
parent | 0e9d1ae3216a5940b36bb56d155fb300b2e55b00 (diff) | |
download | vim-git-60a68362aa73f4a6cb534688978f9dc2b16e60fe.tar.gz |
patch 8.0.1777: cannot cleanup before loading another colorschemev8.0.1777
Problem: Cannot cleanup before loading another colorscheme.
Solution: Add the ColorSchemePre 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_CMDWINENTER, /* after entering the cmdline window */ EVENT_CMDWINLEAVE, /* before leaving the cmdline window */ EVENT_COLORSCHEME, /* after loading a colorscheme */ + EVENT_COLORSCHEMEPRE, /* before loading a colorscheme */ EVENT_COMPLETEDONE, /* after finishing insert complete */ EVENT_CURSORHOLD, /* cursor in same position for a while */ EVENT_CURSORHOLDI, /* idem, in Insert mode */ |