_zsh_highlight_widget_accept-line:9: maximum nested function level reached
Closed this issue · 13 comments
Could you change source .zshrc
to source .zshrc ; functions -t _zsh_highlight_widget_accept-line
and try again?
13:03:23 ~
$ source .zshrc ; functions -t _zsh_highlight_widget_accept-line
13:03:50 ~
$ +_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
+_zsh_highlight_widget_accept-line:0> _zsh_highlight_call_widget orig-accept-line --
+_zsh_highlight_call_widget:2> zle orig-accept-line --
_zsh_highlight_widget_accept-line:9: maximum nested function level reached
13:03:52 ~
$
What's the output of print -r -- $widgets[orig-accept-line]
? (Sorry to bother you with a second round trip; I forgot that -t traces didn't recurse into widget invocations.)
You mean source .zshrc; print -r -- $widgets[orig-accept-line]
, right? Because without source .zshrc
, it prints nothing.
21:59:17 ~
$ source .zshrc; print -r -- $widgets[orig-accept-line]
user:_zsh_autosuggest_bound_accept-line
21:59:59 ~
$
You mean
source .zshrc; print -r -- $widgets[orig-accept-line]
, right? Because withoutsource .zshrc
, it prints nothing.
That's interesting. It implies that you source zsh-autosuggestions after zsh-syntax-highlighting. For starters, change the order so zsh-syntax-highlighting is the last plugin in .zshrc (as documented).
Do you see a problem before you run source .zshrc
? To my understanding, up to that point, you had both syntax highlighting and autosuggestions working, correct? In this case, exec zsh
might serve as a workaround.
Perhaps the reason the patch zsh-users/zsh-autosuggestions#126 (comment) didn't fix your symptoms was that you only applied it to src/start.zsh
and not also to zsh-autosuggestions.zsh
? (You can simply run make
in dir zsh-autosuggestions directory after applying the patch, in order to apply it to the latter file too.)
(I have to run now...)
No, zsh-syntax-highlighting is at the end.
plugins=(adb command-not-found git history-substring-search pip repo zsh-autosuggestions zsh-syntax-highlighting)
I do not have a problem before source .zshrc
. exec zsh
works.
Oops, I did not run make
, but I just tried make
and then source .zshrc
, and still got the same error.
Odd. I'll look further into this when I get back.
Just a quick update: I haven't forgotten about this issue but I don't have new ideas, either. It's odd that, until after the explicit source .zshrc
, (a) there exists no orig-accept-line
widget; (b) there is neither a segfault nor a "maximum nested function function level reached" error, as expected due to case (D) of zsh-users/zsh-autosuggestions#126 (comment).
I think everything so far is consistent with the hypothesis that before you ran source .zshrc
, z-sy-h was enabled and z-asug was not; and that the source .zshrc
then enabled both of them. Were autosuggestions displayed before the source .zshrc
?
Both zsh-autosuggestions
and zsh-syntax-highlighting
are working properly before source .zshrc
So I just tried case (D):
$ zsh -f
% source .oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
% source .oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
% source .oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
%
_zsh_highlight_widget_up-line-or-history:9: maximum nested function level reached
%
Then I tried double case (E):
$ zsh -f
% source .oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh; source .oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
%
% source .oh-my-zsh/custom/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh; source .oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
%
_zsh_highlight_widget_accept-line:9: maximum nested function level reached
%
Note that the error message is different _zsh_highlight_widget_up-line-or-history
vs _zsh_highlight_widget_accept-line
Note that the error message is different
_zsh_highlight_widget_up-line-or-history
vs_zsh_highlight_widget_accept-line
That probably depends on which widget you first invoked at the last prompt. (↑ or ↵ Enter or x).
Could you quickly try zsh-users/zsh-autosuggestions#126 (comment) in zsh -f
? Also the same with two source zsh-autosuggestions.zsh
at the start, but without z-sy-h.
I tried that, and it does not segfault, however, after that if I type anything other than enter, it will print a error message like _zsh_autosugest_bound_self-insert: maximum nested function level reached
and then immediately clear the whole screen (I can't copy the error) and print foobar
at the first line and a prompt at the second line (w/o anything I typed).
It's the same for two source at the start.
That's exactly the behaviour I'm seeing too, except that here it doesn't clear the screen. (Perhaps you have a precmd function that runs clear
.) That minimal example is a reduced version of z-sy-h's loading code (_zsh_highlight_bind_widgets
), so you are affected by the same issue that affects everybody else.
Let's revisit this once the known issues (#286 and zsh-users/zsh-autosuggestions#126) are fixed. There is really nothing we can do until then, even if we assume you are affected both by the known problem and by an independent second problem.
Since you can reproduce a problem without z-sy-h, the root cause of your symptoms also lies outside z-sy-h.: if after #286 and zsh-users/zsh-autosuggestions#126 are fixed you will still be able to reproduce an error by following the steps in zsh-users/zsh-autosuggestions#126 (comment), you'd then have to look for the root cause in zsh-autosuggestions, not in z-sy-h.