Merge pull request #1205 from blueyed/fix-1204
tabline: do not change the signature of get_buffer_name
This commit is contained in:
commit
a710cb99dd
@ -147,8 +147,9 @@ function! airline#extensions#tabline#title(n)
|
||||
return title
|
||||
endfunction
|
||||
|
||||
function! airline#extensions#tabline#get_buffer_name(nr, buffers)
|
||||
return airline#extensions#tabline#formatters#{s:formatter}#format(a:nr, a:buffers)
|
||||
function! airline#extensions#tabline#get_buffer_name(nr, ...)
|
||||
let buffers = a:0 ? a:1 : airline#extensions#tabline#buflist#list()
|
||||
return airline#extensions#tabline#formatters#{s:formatter}#format(a:nr, buffers)
|
||||
endfunction
|
||||
|
||||
function! airline#extensions#tabline#new_builder()
|
||||
|
Loading…
x
Reference in New Issue
Block a user