mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-01-19 23:22:55 +08:00
remove redundant args.
This commit is contained in:
parent
a91dda01df
commit
59d6b72962
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user