Merge pull request #815 from chrisbra/disabled

fix disabled bug
This commit is contained in:
Bailey Ling 2015-10-05 08:51:56 -04:00
commit b7a2159128
1 changed files with 3 additions and 0 deletions

View File

@ -88,6 +88,9 @@ function! airline#switch_matching_theme()
endfunction
function! airline#update_statusline()
if airline#util#getwinvar(winnr(), 'airline_disabled', 0)
return
endif
for nr in filter(range(1, winnr('$')), 'v:val != winnr()')
if airline#util#getwinvar(nr, 'airline_disabled', 0)
continue