fix performance regression

This commit is contained in:
Christian Brabandt
2016-02-07 21:10:37 +01:00
parent 3d148154e1
commit 7efa5067ef
2 changed files with 2 additions and 3 deletions

View File

@@ -82,6 +82,7 @@ function! s:airline_toggle()
autocmd VimEnter,WinEnter,BufWinEnter,FileType,BufUnload,VimResized *
\ call <sid>on_window_changed()
autocmd TabEnter * :unlet! w:airline_lastmode
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()