Fix failing test
This commit is contained in:
parent
726b730f0a
commit
2e99805dbf
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user