From 5415c5e6ec05875174c8cff6d4fadd7dabf89aa6 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sat, 2 Feb 2019 21:57:15 +0100 Subject: [PATCH] tabline: Fix broken call to formatter --- autoload/airline/extensions/tabline/tabs.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/tabline/tabs.vim b/autoload/airline/extensions/tabline/tabs.vim index c90967c..62501c3 100644 --- a/autoload/airline/extensions/tabline/tabs.vim +++ b/autoload/airline/extensions/tabline/tabs.vim @@ -121,7 +121,7 @@ endfunction function! airline#extensions#tabline#tabs#tabnr_formatter(nr, i) abort let formatter = get(g:, 'airline#extensions#tabline#tabnr_formatter', 'tabnr') try - return airline#extensions#formatters#{formatter}#format(a:nr, a:i) + return airline#extensions#tabline#formatters#{formatter}#format(a:nr, a:i) catch /^Vim\%((\a\+)\)\=:E117/ " catch E117, unknown function " Function not found return call(formatter, [a:nr, a:i])