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
1 changed files with 2 additions and 2 deletions

View File

@ -207,6 +207,6 @@ 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.']'))
\ get(g:, 'airline#extensions#tabline#'.a:type.'_label', a:type))
endif
endfunction