From 56ba4b34a7124db89453b064bed7b972864c1c1a Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 18 Nov 2020 11:58:05 +0100 Subject: [PATCH] highlighter: vim9 fix duplicate variable name in s:exec_separator function --- 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 48de8406..cff13302 100644 --- a/autoload/airline/highlighter.vim +++ b/autoload/airline/highlighter.vim @@ -485,14 +485,14 @@ else endif endif enddef - def s:exec_separator(dict: dict, from: string, to: string, inverse: bool, suffix: string): void # {{{2 + def s:exec_separator(dict: dict, from_arg: string, to_arg: string, inverse: bool, suffix: string): void # {{{2 if pumvisible() return endif - var group = from .. '_to_' .. to .. suffix - var from = airline#themes#get_highlight(from .. suffix) + var group = from_arg .. '_to_' .. to_arg .. suffix + var from = airline#themes#get_highlight(from_arg .. suffix) var colors = [] - var to = airline#themes#get_highlight(to .. suffix) + var to = airline#themes#get_highlight(to_arg .. suffix) if inverse colors = [ from[1], to[1], from[3], to[3] ] else