mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-07 20:54:26 +08:00
hopefully fix the color loading issue for people...
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user