From 3e59ab41b6b85a7b3113f3f3e7a97befd3e16491 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Tue, 12 Jul 2016 06:50:49 +0000 Subject: [PATCH] driver: Change a variable name to avoid squatting the highlighters' namespace. Part of issue #329. --- zsh-syntax-highlighting.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh index 610add0..25b9453 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -81,7 +81,7 @@ _zsh_highlight() local highlighter; for highlighter in $ZSH_HIGHLIGHT_HIGHLIGHTERS; do # eval cache place for current highlighter and prepare it - cache_place="_zsh_highlight_${highlighter}_highlighter_cache" + cache_place="_zsh_highlight_highlighter_${highlighter}_cache" typeset -ga ${cache_place} # If highlighter needs to be invoked