Merge pull request #2534 from svenberkvens/fix-close-button-in-tabline

Mark the end of the close button
This commit is contained in:
Christian Brabandt 2022-05-06 10:57:56 +02:00 committed by GitHub
commit c465570143
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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