parent
74ca43a9b6
commit
29eec37c66
|
@ -251,7 +251,7 @@ function! airline#extensions#tabline#add_label(dict, type, right)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! airline#extensions#tabline#add_tab_label(dict)
|
function! airline#extensions#tabline#add_tab_label(dict)
|
||||||
let show_tab_count = get(g:, 'airline#extensions#tabline#show_tab_conut', 1)
|
let show_tab_count = get(g:, 'airline#extensions#tabline#show_tab_count', 1)
|
||||||
if show_tab_count == 2
|
if show_tab_count == 2
|
||||||
call a:dict.add_section_spaced('airline_tabmod', printf('%s %d/%d', "tab", tabpagenr(), tabpagenr('$')))
|
call a:dict.add_section_spaced('airline_tabmod', printf('%s %d/%d', "tab", tabpagenr(), tabpagenr('$')))
|
||||||
elseif show_tab_count == 1 && tabpagenr('$') > 1
|
elseif show_tab_count == 1 && tabpagenr('$') > 1
|
||||||
|
|
Loading…
Reference in New Issue