From 8cfb43fe320333b11502b9c548b3646f4b2e134d Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Sat, 7 Sep 2013 13:03:15 +0000 Subject: [PATCH] refresh inactive modified colors on theme switch. resolves #233. --- autoload/airline/highlighter.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/airline/highlighter.vim b/autoload/airline/highlighter.vim index 70d47ee..38e05c4 100644 --- a/autoload/airline/highlighter.vim +++ b/autoload/airline/highlighter.vim @@ -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