removing the hard-coded '[' and ']' around the tabline labels.

This commit is contained in:
srini-x 2018-01-25 22:52:38 -08:00
parent c2ffb8b3ec
commit 7f1cfb0c3f

View File

@ -207,6 +207,6 @@ endfunction
function! airline#extensions#tabline#add_label(dict, type) function! airline#extensions#tabline#add_label(dict, type)
if get(g:, 'airline#extensions#tabline#show_tab_type', 1) if get(g:, 'airline#extensions#tabline#show_tab_type', 1)
call a:dict.add_section_spaced('airline_tablabel', call a:dict.add_section_spaced('airline_tablabel',
\ get(g:, 'airline#extensions#tabline#'.a:type.'_label', '['.a:type.']')) \ get(g:, 'airline#extensions#tabline#'.a:type.'_label', a:type))
endif endif
endfunction endfunction