Merge pull request #1651 from srini-x/master

Changing 'airline_tablabel' text and colors back to old style
This commit is contained in:
Christian Brabandt 2018-02-14 09:49:31 +01:00 committed by GitHub
commit 55a9721c22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,7 +206,7 @@ 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