implement funcref list again, this time with a global function as this affects older versions of vim

This commit is contained in:
Bailey Ling
2013-07-09 13:48:57 +00:00
parent 65664efe13
commit 40b99e181d
3 changed files with 20 additions and 19 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()