mirror of
https://github.com/vim-airline/vim-airline-themes.git
synced 2024-12-04 16:03:34 +08:00
hopefully fix the color loading issue for people...
This commit is contained in:
parent
9f8e9fda96
commit
7c4b7d0996
|
@ -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 <sid>update_statusline(0)
|
||||
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 !&lazyredraw
|
||||
|
|
Loading…
Reference in New Issue
Block a user