From 15322a26edf3160b75248e13b4f35e79e7bb6505 Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Wed, 4 Sep 2013 02:11:51 +0000 Subject: [PATCH] fix split count per tab. resolves #214. --- autoload/airline/extensions/tabline.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/tabline.vim b/autoload/airline/extensions/tabline.vim index 03854130..d502276a 100644 --- a/autoload/airline/extensions/tabline.vim +++ b/autoload/airline/extensions/tabline.vim @@ -76,7 +76,7 @@ function! s:get_tabs() let b = airline#builder#new({'active': 1}) for i in range(1, tabpagenr('$')) let group = i == tabpagenr() ? 'airline_tabsel' : 'airline_tab' - call b.add_section(group, ' %{len(tabpagebuflist(tabpagenr()))}%( %'.i.'T %{airline#extensions#tabline#title('.i.')} %)') + call b.add_section(group, ' %{len(tabpagebuflist('.i.'))}%( %'.i.'T %{airline#extensions#tabline#title('.i.')} %)') endfor call b.add_raw('%T') call b.add_section('airline_tabfill', '')