Open xPMo opened 3 years ago
To reproduce:
. ./zsh-autosuggestions.zsh zle -N →demo
Then repeatedly run printf '%q\n' ${functions[(I)*demo]} and notice how the number of functions growing. Zsh-autosuggestions is not wrapping these functions correctly.
printf '%q\n' ${functions[(I)*demo]}
Please change this line to use the builtin $widgets array instead of parsing zle -la:
$widgets
zle -la
for widget in ${${widgets:#${(j:|:)~ignore_widgets}}; do
To reproduce:
Then repeatedly run
printf '%q\n' ${functions[(I)*demo]}
and notice how the number of functions growing. Zsh-autosuggestions is not wrapping these functions correctly.Please change this line to use the builtin
$widgets
array instead of parsingzle -la
: