mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-22 08:26:07 +08:00
Merge pull request #2534 from svenberkvens/fix-close-button-in-tabline
Mark the end of the close button
This commit is contained in:
commit
c465570143
|
@ -85,7 +85,7 @@ function! airline#extensions#tabline#tabs#get()
|
||||||
|
|
||||||
if get(g:, 'airline#extensions#tabline#show_close_button', 1)
|
if get(g:, 'airline#extensions#tabline#show_close_button', 1)
|
||||||
call b.add_section('airline_tab_right', ' %999X'.
|
call b.add_section('airline_tab_right', ' %999X'.
|
||||||
\ get(g:, 'airline#extensions#tabline#close_symbol', 'X').' ')
|
\ get(g:, 'airline#extensions#tabline#close_symbol', 'X').'%X ')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get(g:, 'airline#extensions#tabline#show_splits', 1) == 1
|
if get(g:, 'airline#extensions#tabline#show_splits', 1) == 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user