From 8e7c26f489f952213bbb269a0570384184c0f6fe Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sat, 5 Sep 2015 12:50:32 +0000 Subject: [PATCH] Do wrap the 'yank' widget, because that works. Partly reverts eb9870f4db1cf347456af0867e1c1ae47252b209 which was PR #143 to fix issue #99. --- 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 937e426..e418187 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -139,7 +139,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-pop)}; do case $widgets[$cur_widget] in # Already rebound event: do nothing.