Fix failing test

This commit is contained in:
Christian Brabandt 2018-10-16 12:13:24 +02:00
parent 726b730f0a
commit 2e99805dbf
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -53,7 +53,7 @@ function! airline#highlighter#reset_hlcache()
endfunction endfunction
function! airline#highlighter#get_highlight(group, ...) function! airline#highlighter#get_highlight(group, ...)
let reverse = g:airline_gui_mode ==# 'gui' let reverse = get(g:, 'airline_gui_mode', '') ==# 'gui'
\ ? synIDattr(synIDtrans(hlID(a:group)), 'reverse', 'gui') \ ? synIDattr(synIDtrans(hlID(a:group)), 'reverse', 'gui')
\ : synIDattr(synIDtrans(hlID(a:group)), 'reverse', 'cterm') \ : synIDattr(synIDtrans(hlID(a:group)), 'reverse', 'cterm')
\|| synIDattr(synIDtrans(hlID(a:group)), 'reverse', 'term') \|| synIDattr(synIDtrans(hlID(a:group)), 'reverse', 'term')