mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-01-09 13:02:19 +08:00
use list of funcrecs, allowing window overrides to be dynamically added
This commit is contained in:
@@ -68,7 +68,9 @@ function! s:apply_window_overrides()
|
||||
let w:airline_section_c = bufname(winbufnr(winnr()))
|
||||
endif
|
||||
|
||||
call airline#extensions#apply_window_overrides()
|
||||
for FuncRef in g:airline_window_override_funcrefs
|
||||
call FuncRef()
|
||||
endfor
|
||||
endfunction
|
||||
|
||||
function! airline#update_externals()
|
||||
|
||||
Reference in New Issue
Block a user