From 7f1cfb0c3f976f230b45922cc0c37ac5a7e4e947 Mon Sep 17 00:00:00 2001 From: srini-x Date: Thu, 25 Jan 2018 22:52:38 -0800 Subject: [PATCH] removing the hard-coded '[' and ']' around the tabline labels. --- autoload/airline/extensions/tabline.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/airline/extensions/tabline.vim b/autoload/airline/extensions/tabline.vim index 33b342e6..9700023b 100644 --- a/autoload/airline/extensions/tabline.vim +++ b/autoload/airline/extensions/tabline.vim @@ -206,7 +206,7 @@ endfunction function! airline#extensions#tabline#add_label(dict, type) if get(g:, 'airline#extensions#tabline#show_tab_type', 1) - call a:dict.add_section_spaced('airline_tablabel', - \ get(g:, 'airline#extensions#tabline#'.a:type.'_label', '['.a:type.']')) + call a:dict.add_section_spaced('airline_tablabel', + \ get(g:, 'airline#extensions#tabline#'.a:type.'_label', a:type)) endif endfunction