mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-01-09 04:52:20 +08:00
check existence of airline augroup before overwriting statusline
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user