prefer function name instead of funcref.

This commit is contained in:
Bailey Ling
2013-08-23 21:22:20 +00:00
parent 95a46cc106
commit e8d0d24163
13 changed files with 46 additions and 23 deletions

View File

@@ -27,6 +27,6 @@ function! airline#extensions#csv#apply(...)
endfunction
function! airline#extensions#csv#init(ext)
call a:ext.add_statusline_funcref(function('airline#extensions#csv#apply'))
call a:ext.add_statusline_func('airline#extensions#csv#apply')
endfunction