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
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ function! airline#highlighter#reset_hlcache()
endfunction
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', 'cterm')
\|| synIDattr(synIDtrans(hlID(a:group)), 'reverse', 'term')