mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-27 02:33:56 +08:00
Merge pull request #1660 from erfanio/fix_buffer_tabline
Fix white space in tabline when showing buffers
This commit is contained in:
commit
e4968d7a40
|
@ -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