remove redundant args.

This commit is contained in:
Bailey Ling 2013-08-24 23:09:12 -04:00
parent a91dda01df
commit 59d6b72962

View File

@ -56,7 +56,7 @@ endfunction
let s:active_winnr = -1 let s:active_winnr = -1
function! airline#extensions#update_statusline(...) function! airline#extensions#update_statusline(...)
if s:is_excluded_window(a:000) if s:is_excluded_window()
return -1 return -1
endif endif
@ -92,7 +92,7 @@ function! airline#extensions#update_statusline(...)
endfor endfor
endfunction endfunction
function! s:is_excluded_window(...) function! s:is_excluded_window()
for matchft in g:airline_exclude_filetypes for matchft in g:airline_exclude_filetypes
if matchft ==# &ft if matchft ==# &ft
return 1 return 1