Merge zsh-syntax-highlighting #143 to close #15

The problem reported in issue #15 was fixed upstream in #143:
https://github.com/zsh-users/zsh-syntax-highlighting/pull/143
This commit is contained in:
Suraj N. Kurapati
2015-02-17 12:16:55 -08:00
parent 9f9fc7d550
commit 3c7b079275
+1 -1
View File
@@ -143,7 +143,7 @@ if [[ $+functions[_zsh_highlight] -eq 0 ]]; then
# 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)}; do
for cur_widget in ${${(f)"$(builtin zle -la)"}:#(.*|_*|orig-*|run-help|which-command|beep|yank*)}; do
case $widgets[$cur_widget] in
# Already rebound event: do nothing.