Follow-up to previous: fix 'paste' highlight after put in vi-mode.

Suggested-by: Oliver Kiddle
This commit is contained in:
Daniel Shahaf 2015-07-23 16:36:50 +00:00
parent 5a3b584fd1
commit 5d4134dbda

View File

@ -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|bracketed-paste|which-command|beep|yank*)}; do
for cur_widget in ${${(f)"$(builtin zle -la)"}:#(.*|_*|orig-*|run-help|bracketed-paste|vi-put-before|vi-put-after|which-command|beep|yank*)}; do
case $widgets[$cur_widget] in
# Already rebound event: do nothing.