summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-30 15:40:48 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-30 15:40:48 +0200
commit60a68362aa73f4a6cb534688978f9dc2b16e60fe (patch)
tree0778d5cc682a5a11b459d5c95a56d36f00cfbbce /src/vim.h
parent0e9d1ae3216a5940b36bb56d155fb300b2e55b00 (diff)
downloadvim-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index af01f1a51..0a4a49018 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -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 */