vim-patch:8.0.1777: cannot cleanup before loading another colorscheme (#9104)

Problem:    Cannot cleanup before loading another colorscheme.
Solution:   Add the ColorSchemePre autocommand event.
60a68362aa
This commit is contained in:
Jan Edmund Lazo
2018-10-11 02:27:37 -04:00
committed by Justin M. Keyes
parent e17e21e4cf
commit 2bf1aa5628
4 changed files with 16 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ return {
'CmdWinEnter', -- after entering the cmdline window
'CmdWinLeave', -- before leaving the cmdline window
'ColorScheme', -- after loading a colorscheme
'ColorSchemePre', -- before loading a colorscheme
'CompleteDone', -- after finishing insert complete
'CursorHold', -- cursor in same position for a while
'CursorHoldI', -- idem, in Insert mode