use util getwinvar helper function
This commit is contained in:
parent
b55b526c65
commit
462ee313e7
|
@ -89,8 +89,7 @@ endfunction
|
|||
|
||||
function! airline#update_statusline()
|
||||
for nr in filter(range(1, winnr('$')), 'v:val != winnr()')
|
||||
if !empty(getwinvar(nr, 'airline_disabled')) &&
|
||||
\ getwinvar(nr, 'airline_disabled')
|
||||
if airline#util#getwinvar(nr, 'airline_disabled', 0)
|
||||
continue
|
||||
endif
|
||||
call setwinvar(nr, 'airline_active', 0)
|
||||
|
|
Loading…
Reference in New Issue