fix split count per tab. resolves #214.

This commit is contained in:
Bailey Ling 2013-09-04 02:11:51 +00:00
parent 2051dfb9a1
commit 15322a26ed
1 changed files with 1 additions and 1 deletions

View File

@ -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', '')