hopefully fix the color loading issue for people...

This commit is contained in:
Bailey Ling 2013-07-02 13:50:53 +00:00
parent 9f8e9fda96
commit 7c4b7d0996

View File

@ -138,10 +138,10 @@ endfunction
augroup airline augroup airline
au! au!
autocmd VimEnter * call AirlineModePrefix() hi clear StatusLine | hi clear StatusLineNC
autocmd ColorScheme * hi clear StatusLine | hi clear StatusLineNC
autocmd WinLeave * call <sid>update_statusline(0) autocmd WinLeave * call <sid>update_statusline(0)
autocmd VimEnter,WinEnter,BufWinEnter * call <sid>update_statusline(1) autocmd VimEnter,WinEnter,BufWinEnter * call <sid>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 you know why lazyredraw affects statusline rendering i'd love to know!
if !&lazyredraw if !&lazyredraw