From c761566dcf383149a7ba586c880c1faf522516db Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Fri, 10 Jul 2015 21:12:14 +0200 Subject: [PATCH] fix disabled bug --- autoload/airline.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/airline.vim b/autoload/airline.vim index ef74298..b768488 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