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