From 396116b059da97f2b11540193468d900737b96ba Mon Sep 17 00:00:00 2001 From: Sven Berkvens-Matthijsse Date: Fri, 6 May 2022 08:51:14 +0200 Subject: [PATCH] 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. --- autoload/airline/extensions/tabline/tabs.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/extensions/tabline/tabs.vim b/autoload/airline/extensions/tabline/tabs.vim index d79ad5b4..c8b9974a 100644 --- a/autoload/airline/extensions/tabline/tabs.vim +++ b/autoload/airline/extensions/tabline/tabs.vim @@ -85,7 +85,7 @@ function! airline#extensions#tabline#tabs#get() if get(g:, 'airline#extensions#tabline#show_close_button', 1) 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 if get(g:, 'airline#extensions#tabline#show_splits', 1) == 1