Merge pull request #1240 from chrisbra/1226

Add User autocommand for Theme changing
This commit is contained in:
Christian Brabandt authored and GitHub committed 2016-09-05 19:32:13 +02:00
commit 5eaf658b9c
2 files changed
+3

No files matched your search

+2
View File
@@ -65,6 +65,8 @@ function! airline#switch_theme(name)
let w:airline_lastmode = ''
call airline#load_theme()
silent doautocmd User AirlineAfterTheme
" this is required to prevent clobbering the startup info message, i don't know why...
call airline#check_mode(winnr())
endfunction