mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-27 22:31:09 +08:00
always run the extensions/core funcrefs last.
this ensures the user always has priority in customizations.
This commit is contained in:
@@ -51,7 +51,7 @@ function! airline#extensions#apply_left_override(section1, section2)
|
||||
endfunction
|
||||
|
||||
let s:active_winnr = -1
|
||||
function! airline#extensions#update_statusline(...)
|
||||
function! airline#extensions#apply(...)
|
||||
if s:is_excluded_window()
|
||||
return -1
|
||||
endif
|
||||
@@ -124,9 +124,6 @@ function! airline#extensions#load()
|
||||
" non-trivial number of external plugins use eventignore=all, so we need to account for that
|
||||
autocmd CursorMoved * call <sid>sync_active_winnr()
|
||||
|
||||
" load core funcrefs
|
||||
call airline#add_statusline_func('airline#extensions#update_statusline')
|
||||
|
||||
if get(g:, 'loaded_unite', 0)
|
||||
call airline#extensions#unite#init(s:ext)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user