hopefully fix the color loading issue for people...
This commit is contained in:
parent
9f8e9fda96
commit
7c4b7d0996
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user