mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-03-04 22:31:23 +08:00
refresh inactive modified colors on theme switch. resolves #233.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user