fix disabled bug

This commit is contained in:
Christian Brabandt 2015-07-10 21:12:14 +02:00
parent 9d90e2cbfe
commit c761566dcf

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