mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-22 05:24:40 +02:00
highlighter: vim9 script implementation of s:get_array
This commit is contained in:
parent
4d75c9940c
commit
b152059a98
@ -347,4 +347,7 @@ else
|
|||||||
endif
|
endif
|
||||||
return color
|
return color
|
||||||
enddef
|
enddef
|
||||||
|
def s:get_array(guifg: string, guibg: string, ctermfg: string, ctermbg: string, opts: list<string>): list<string> # {{{2
|
||||||
|
return [ guifg, guibg, ctermfg, ctermbg, empty(opts) ? '' : join(opts, ',') ]
|
||||||
|
enddef
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user