From 4f8675434a5cd68b0ca0adee27f3af6c0feb8804 Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 18 Nov 2020 11:08:32 +0100 Subject: [PATCH] highlighter: get rid of superflous l: var prefix --- autoload/airline/highlighter.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autoload/airline/highlighter.vim b/autoload/airline/highlighter.vim index 3bf6ebec..30d8dd81 100644 --- a/autoload/airline/highlighter.vim +++ b/autoload/airline/highlighter.vim @@ -180,12 +180,12 @@ if !exists(":def") || (exists(":def") && get(g:, "airline_experimental", 0)==0) return endif let group = a:from.'_to_'.a:to.a:suffix - let l:from = airline#themes#get_highlight(a:from.a:suffix) - let l:to = airline#themes#get_highlight(a:to.a:suffix) + let from = airline#themes#get_highlight(a:from.a:suffix) + let to = airline#themes#get_highlight(a:to.a:suffix) 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 - 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 let a:dict[group] = colors call airline#highlighter#exec(group, colors)