parent
700c9b9740
commit
ecff00a559
|
@ -88,8 +88,10 @@ function! airline#extensions#tabline#tabs#get()
|
||||||
let group = airline#extensions#tabline#group_of_bufnr(buffers, nr) . "_right"
|
let group = airline#extensions#tabline#group_of_bufnr(buffers, nr) . "_right"
|
||||||
call b.add_section_spaced(group, '%(%{airline#extensions#tabline#get_buffer_name('.nr.')}%)')
|
call b.add_section_spaced(group, '%(%{airline#extensions#tabline#get_buffer_name('.nr.')}%)')
|
||||||
endfor
|
endfor
|
||||||
|
if get(g:, 'airline#extensions#tabline#show_buffers', 1)
|
||||||
call airline#extensions#tabline#add_label(b, 'buffers')
|
call airline#extensions#tabline#add_label(b, 'buffers')
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
let s:current_bufnr = curbuf
|
let s:current_bufnr = curbuf
|
||||||
let s:current_tabnr = curtab
|
let s:current_tabnr = curtab
|
||||||
|
|
Loading…
Reference in New Issue