Follow-up to previous: fix 'paste' highlight after put in vi-mode.
Suggested-by: Oliver Kiddle
This commit is contained in:
parent
5a3b584fd1
commit
5d4134dbda
@ -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|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
|
case $widgets[$cur_widget] in
|
||||||
|
|
||||||
# Already rebound event: do nothing.
|
# Already rebound event: do nothing.
|
||||||
|
Loading…
Reference in New Issue
Block a user