diff --git a/autoload/airline.vim b/autoload/airline.vim index 0b66c7d..1d10232 100644 --- a/autoload/airline.vim +++ b/autoload/airline.vim @@ -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