From 7c7de271b0cc1870b7c7fba102a5893c6e56e499 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Sun, 7 Jul 2013 21:06:27 -0400 Subject: [PATCH] ensures highlights are applied on window enter (#10) --- plugin/airline.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/airline.vim b/plugin/airline.vim index c2b8582..400634f 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -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 init() | call airline#update_statusline(1) + autocmd WinEnter,BufWinEnter,FileType * + \ call init() | call airline#highlight(['normal']) | call airline#update_statusline(1) augroup END