Fix white space in tabline when showing buffers
This commit is contained in:
parent
c2ffb8b3ec
commit
8c634887bf
@ -87,7 +87,11 @@ function! airline#extensions#tabline#buffers#get()
|
|||||||
call b.add_raw('%'.nr.'@airline#extensions#tabline#buffers#clickbuf@')
|
call b.add_raw('%'.nr.'@airline#extensions#tabline#buffers#clickbuf@')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let space= (pgroup == group ? s:spc : '')
|
if get(g:, 'airline_powerline_fonts', 0)
|
||||||
|
let space = s:spc
|
||||||
|
else
|
||||||
|
let space= (pgroup == group ? s:spc : '')
|
||||||
|
endif
|
||||||
|
|
||||||
if get(g:, 'airline#extensions#tabline#buffer_idx_mode', 0)
|
if get(g:, 'airline#extensions#tabline#buffer_idx_mode', 0)
|
||||||
if len(s:number_map) > 0
|
if len(s:number_map) > 0
|
||||||
|
Loading…
Reference in New Issue
Block a user