themes: Vim9 script implementation of get_highlight and get_highlight2

This commit is contained in:
Christian 2020-11-18 19:21:00 +01:00 committed by Christian Brabandt
parent 4e4663c71c
commit 0eee611a0e
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -100,4 +100,12 @@ else
return palette
enddef
def airline#themes#get_highlight(group: string): list<string>
return call('airline#highlighter#get_highlight', [group])
enddef
def airline#themes#get_highlight2(fg: list<string>, bg: list<string>): list<string>
return call('airline#highlighter#get_highlight2', [fg, bg])
endfunction
endif