mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-03-04 13:25:00 +08:00
This fixes an infinite recursion in zsh without zle-line-pre-redraw [≤5.2] in
the following situation:
% source zsh-syntax-highlighting.zsh
% eval "my-self-insert() { zle -M 'foobar'; ${(q)widgets[self-insert]#*:} \"\$@\" }"
% zle -N self-insert my-self-insert
% source zsh-syntax-highlighting.zsh
Fixes #305.
14 KiB
14 KiB