From b152059a98c4c9cb554bd0748fb48f777f7a9457 Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 18 Nov 2020 08:45:53 +0100 Subject: [PATCH] highlighter: vim9 script implementation of s:get_array --- autoload/airline/highlighter.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/airline/highlighter.vim b/autoload/airline/highlighter.vim index 5edd950d..db15b83f 100644 --- a/autoload/airline/highlighter.vim +++ b/autoload/airline/highlighter.vim @@ -347,4 +347,7 @@ else endif return color enddef + def s:get_array(guifg: string, guibg: string, ctermfg: string, ctermbg: string, opts: list): list # {{{2 + return [ guifg, guibg, ctermfg, ctermbg, empty(opts) ? '' : join(opts, ',') ] + enddef endif