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

@ -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