refresh inactive modified colors on theme switch. resolves #233.

This commit is contained in:
Bailey Ling 2013-09-07 13:03:15 +00:00
parent d74b3bfdbf
commit 8cfb43fe32
1 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,9 @@ function! s:exec_separator(dict, from, to, inverse, suffix)
endfunction
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(['normal'])
endfunction