From e8cc271314612cf2aad1fe8e9e28d1a9c24ae0c8 Mon Sep 17 00:00:00 2001 From: Randy Date: Mon, 24 Mar 2014 08:45:34 +0200 Subject: [PATCH] Resolves slow performance in brackets highlighter --- highlighters/brackets/brackets-highlighter.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/highlighters/brackets/brackets-highlighter.zsh b/highlighters/brackets/brackets-highlighter.zsh index 8e635dd..ee4a83b 100644 --- a/highlighters/brackets/brackets-highlighter.zsh +++ b/highlighters/brackets/brackets-highlighter.zsh @@ -49,6 +49,7 @@ _zsh_highlight_brackets_highlighter() { local level=0 pos local -A levelpos lastoflevel matching typepos + region_highlight=() # Find all brackets and remember which one is matching for (( pos = 0; $pos < ${#BUFFER}; pos++ )) ; do