Add a terminal statusline function for vim

This commit is contained in:
Christian Brabandt
2017-08-22 15:30:15 +02:00
parent bd613e69b6
commit 0ad4f97c1a
4 changed files with 44 additions and 1 deletions

View File

@@ -44,6 +44,10 @@ function! airline#themes#patch(palette)
if !has_key(a:palette[mode], 'airline_error')
let a:palette[mode]['airline_error'] = [ '#000000', '#990000', 232, 160 ]
endif
if !has_key(a:palette[mode], 'airline_term')
"let a:palette[mode]['airline_term'] = [ '#9cffd3', '#202020', 85, 232]
let a:palette[mode]['airline_term'] = airline#highlighter#get_highlight('airline_c')
endif
endfor
let a:palette.accents = get(a:palette, 'accents', {})