minor: do not copy args in s:get_array
This commit is contained in:
parent
6c8f33f192
commit
429cfcd71e
@ -31,11 +31,9 @@ function! s:get_syn(group, what)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:get_array(fg, bg, opts)
|
function! s:get_array(fg, bg, opts)
|
||||||
let fg = a:fg
|
|
||||||
let bg = a:bg
|
|
||||||
return g:airline_gui_mode ==# 'gui'
|
return g:airline_gui_mode ==# 'gui'
|
||||||
\ ? [ fg, bg, '', '', join(a:opts, ',') ]
|
\ ? [ a:fg, a:bg, '', '', join(a:opts, ',') ]
|
||||||
\ : [ '', '', fg, bg, join(a:opts, ',') ]
|
\ : [ '', '', a:fg, a:bg, join(a:opts, ',') ]
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! airline#highlighter#get_highlight(group, ...)
|
function! airline#highlighter#get_highlight(group, ...)
|
||||||
|
Loading…
Reference in New Issue
Block a user