mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-24 06:25:31 +02:00
themes: Vim9 script implementation of get_highlight and get_highlight2
This commit is contained in:
parent
4e4663c71c
commit
0eee611a0e
@ -100,4 +100,12 @@ else
|
|||||||
|
|
||||||
return palette
|
return palette
|
||||||
enddef
|
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
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user