diff --git a/plugin/airline.vim b/plugin/airline.vim index 6a5a2888..6ebc13b5 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -91,7 +91,7 @@ function! s:airline_toggle() \ call on_window_changed() autocmd VimResized * unlet! w:airline_lastmode | :call airline_refresh() - autocmd TabEnter * :unlet! w:airline_lastmode w:airline_active + autocmd TabEnter * :unlet! w:airline_lastmode | let w:airline_active=1 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()