Do wrap the 'yank' widget, because that works.

Partly reverts eb9870f4db which was PR #143 to
fix issue #99.
This commit is contained in:
Daniel Shahaf 2015-09-05 12:50:32 +00:00
parent 7f41967a17
commit 8e7c26f489

View File

@ -139,7 +139,7 @@ _zsh_highlight_bind_widgets()
# Override ZLE widgets to make them invoke _zsh_highlight. # Override ZLE widgets to make them invoke _zsh_highlight.
local cur_widget 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 case $widgets[$cur_widget] in
# Already rebound event: do nothing. # Already rebound event: do nothing.