ensures highlights are applied on window enter (#10)

This commit is contained in:
Bailey Ling 2013-07-07 21:06:27 -04:00
parent 0c969e7860
commit 7c7de271b0

View File

@ -53,5 +53,6 @@ augroup airline
au!
autocmd ColorScheme * call airline#highlight(['normal'])
autocmd WinLeave * call airline#update_statusline(0)
autocmd WinEnter,BufWinEnter,FileType * call <sid>init() | call airline#update_statusline(1)
autocmd WinEnter,BufWinEnter,FileType *
\ call <sid>init() | call airline#highlight(['normal']) | call airline#update_statusline(1)
augroup END