use list of funcrecs, allowing window overrides to be dynamically added

This commit is contained in:
Bailey Ling
2013-07-09 03:23:30 +00:00
parent 0c394308e4
commit c0427e435d
3 changed files with 7 additions and 7 deletions

View File

@@ -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()