mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-01-06 11:33:21 +08:00
Only reset to Normal highlighting if it is actually defined
closes #1415 and similar
This commit is contained in:
@@ -53,6 +53,7 @@ endfunction
|
||||
|
||||
function! s:on_colorscheme_changed()
|
||||
call s:init()
|
||||
unlet! g:airline#highlighter#normal_fg_hi
|
||||
let g:airline_gui_mode = airline#init#gui_mode()
|
||||
if !s:theme_in_vimrc
|
||||
call airline#switch_matching_theme()
|
||||
|
||||
Reference in New Issue
Block a user