From 59d6b729626e4e4f5ea7601e45f74c9fddaa0fb9 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Sat, 24 Aug 2013 23:09:12 -0400 Subject: [PATCH] remove redundant args. --- autoload/airline/extensions.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/airline/extensions.vim b/autoload/airline/extensions.vim index e1f9358d..cae766fd 100644 --- a/autoload/airline/extensions.vim +++ b/autoload/airline/extensions.vim @@ -56,7 +56,7 @@ endfunction let s:active_winnr = -1 function! airline#extensions#update_statusline(...) - if s:is_excluded_window(a:000) + if s:is_excluded_window() return -1 endif @@ -92,7 +92,7 @@ function! airline#extensions#update_statusline(...) endfor endfunction -function! s:is_excluded_window(...) +function! s:is_excluded_window() for matchft in g:airline_exclude_filetypes if matchft ==# &ft return 1