From 7c4b7d0996c27a2b6ed7835faf54730081a27983 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Tue, 2 Jul 2013 13:50:53 +0000 Subject: [PATCH] hopefully fix the color loading issue for people... --- plugin/airline.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/airline.vim b/plugin/airline.vim index f822cdc..f659181 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -138,10 +138,10 @@ endfunction augroup airline au! - autocmd VimEnter * call AirlineModePrefix() + hi clear StatusLine | hi clear StatusLineNC + autocmd ColorScheme * hi clear StatusLine | hi clear StatusLineNC autocmd WinLeave * call update_statusline(0) autocmd VimEnter,WinEnter,BufWinEnter * call update_statusline(1) - autocmd ColorScheme * hi clear StatusLine | hi clear StatusLineNC " if you know why lazyredraw affects statusline rendering i'd love to know! if !&lazyredraw