mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-22 15:23:55 +08:00
Mark the end of the close button
Not marking the end makes the rest of line (after the close button) also clickable and react as if the close button was clicked. That is very confusing and incorrect behavior.
This commit is contained in:
parent
13628d698d
commit
396116b059
|
@ -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