From bd2e00a4a99e57e058465421d357f19d80da849b Mon Sep 17 00:00:00 2001 From: jimmijj Date: Tue, 30 Sep 2014 00:45:29 +0000 Subject: [PATCH] Excluded several widgets from overriding following http://www.zsh.org/mla/users/2014/msg00308.html advise to resolve issue #137 --- zsh-syntax-highlighting.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh index b7afae0..b70743b 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -104,7 +104,7 @@ _zsh_highlight() # API/utility functions for highlighters # ------------------------------------------------------------------------------------------------- -# Array used by highlighters to declare user overridable styles. +# Arrays used by highlighters to declare user overridable styles. typeset -gA ZSH_HIGHLIGHT_STYLES typeset -gA ZSH_HIGHLIGHT_FILES @@ -140,7 +140,7 @@ _zsh_highlight_bind_widgets() # Override ZLE widgets to make them invoke _zsh_highlight. local cur_widget - for cur_widget in ${${(f)"$(builtin zle -la)"}:#(.*|_*|orig-*|run-help|which-command|beep|yank*)}; do + for cur_widget in ${${(f)"$(builtin zle -la)"}:#(.*|_*|orig-*|run-help|which-command|beep|yank*|auto-*|*-argument|argument-base|reset-prompt|split-undo|describe-key-briefly|what-cursor-position|set-local-history)}; do case $widgets[$cur_widget] in # Already rebound event: do nothing.