minor: do not copy args in s:get_array

This commit is contained in:
Daniel Hahler 2016-06-06 20:40:51 +02:00
parent 6c8f33f192
commit 429cfcd71e

View File

@ -31,11 +31,9 @@ function! s:get_syn(group, what)
endfunction
function! s:get_array(fg, bg, opts)
let fg = a:fg
let bg = a:bg
return g:airline_gui_mode ==# 'gui'
\ ? [ fg, bg, '', '', join(a:opts, ',') ]
\ : [ '', '', fg, bg, join(a:opts, ',') ]
\ ? [ a:fg, a:bg, '', '', join(a:opts, ',') ]
\ : [ '', '', a:fg, a:bg, join(a:opts, ',') ]
endfunction
function! airline#highlighter#get_highlight(group, ...)