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