removing the hard-coded '[' and ']' around the tabline labels.
This commit is contained in:
parent
c2ffb8b3ec
commit
7f1cfb0c3f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user