mirror of
https://github.com/vim-airline/vim-airline-themes
synced 2025-01-24 22:23:00 +00:00
refresh inactive modified colors on theme switch. resolves #233.
This commit is contained in:
parent
d74b3bfdbf
commit
8cfb43fe32
@ -82,6 +82,9 @@ function! s:exec_separator(dict, from, to, inverse, suffix)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! airline#highlighter#load_theme()
|
function! airline#highlighter#load_theme()
|
||||||
|
for winnr in filter(range(1, winnr('$')), 'v:val != winnr()')
|
||||||
|
call airline#highlighter#highlight_modified_inactive(winbufnr(winnr))
|
||||||
|
endfor
|
||||||
call airline#highlighter#highlight(['inactive'])
|
call airline#highlighter#highlight(['inactive'])
|
||||||
call airline#highlighter#highlight(['normal'])
|
call airline#highlighter#highlight(['normal'])
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user