From eef069d7bce0cd0238074dc05c07ccb7299b19f6 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Fri, 13 May 2016 14:41:31 +0200 Subject: [PATCH] reset w:airline_active variable on TabEnter fixes #1159 --- plugin/airline.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/airline.vim b/plugin/airline.vim index 33dc605..dec8dd2 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -91,7 +91,7 @@ function! s:airline_toggle() \ call on_window_changed() autocmd VimResized * call airline_refresh() - autocmd TabEnter * :unlet! w:airline_lastmode + autocmd TabEnter * :unlet! w:airline_lastmode w:airline_active autocmd BufWritePost */autoload/airline/themes/*.vim \ exec 'source '.split(globpath(&rtp, 'autoload/airline/themes/'.g:airline_theme.'.vim', 1), "\n")[0] \ | call airline#load_theme()