check existence of airline augroup before overwriting statusline

This commit is contained in:
Bailey Ling committed 2013-08-15 16:05:12 -04:00
1 parent 12fc908f43
commit 6269632164
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -93,7 +93,7 @@ function! airline#extensions#load_theme()
endfunction
function! s:sync_active_winnr()
if winnr() != s:active_winnr
if exists('#airline') && winnr() != s:active_winnr
if airline#exec_funcrefs(s:ext._cursormove_funcrefs, 1)
return
endif