mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-21 04:54:45 +02:00
highlighter: get rid of superflous l: var prefix
This commit is contained in:
parent
5391b3e246
commit
4f8675434a
@ -180,12 +180,12 @@ if !exists(":def") || (exists(":def") && get(g:, "airline_experimental", 0)==0)
|
|||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
let group = a:from.'_to_'.a:to.a:suffix
|
let group = a:from.'_to_'.a:to.a:suffix
|
||||||
let l:from = airline#themes#get_highlight(a:from.a:suffix)
|
let from = airline#themes#get_highlight(a:from.a:suffix)
|
||||||
let l:to = airline#themes#get_highlight(a:to.a:suffix)
|
let to = airline#themes#get_highlight(a:to.a:suffix)
|
||||||
if a:inverse
|
if a:inverse
|
||||||
let colors = [ l:from[1], l:to[1], l:from[3], l:to[3] ]
|
let colors = [ from[1], to[1], from[3], to[3] ]
|
||||||
else
|
else
|
||||||
let colors = [ l:to[1], l:from[1], l:to[3], l:from[3] ]
|
let colors = [ to[1], from[1], to[3], from[3] ]
|
||||||
endif
|
endif
|
||||||
let a:dict[group] = colors
|
let a:dict[group] = colors
|
||||||
call airline#highlighter#exec(group, colors)
|
call airline#highlighter#exec(group, colors)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user