upgrade all funcrefs to support varargs.

This commit is contained in:
Bailey Ling committed 2013-08-21 15:14:12 +00:00
1 parent 47de191a80
commit 8452029e98
13 files changed
+30 -28

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
" MIT License. Copyright (c) 2013 Bailey Ling.
" vim: ts=2 sts=2 sw=2 fdm=indent
" vim: et ts=2 sts=2 sw=2
function! airline#extensions#bufferline#apply()
function! airline#extensions#bufferline#apply(...)
" revert to default in non-active splits
for nr in filter(range(1, winnr('$')), 'v:val != winnr()')
if matchstr(getwinvar(nr, '&statusline'), '%{bufferline') != ''