Open fame-odoo opened 2 months ago
I have the same issue. I do not use oh-my-zsh. I have found out that it happens in combination with the zsh-autocomplete plugin.
Edit: I need to correct myself. It happens with zsh-autocomplete and fast-syntax-highlighting, so not related to this plugin.
I got the same issue:
Since a recent update of (any) of my oh-my-zsh plugins, zsh-autosuggestions complains about missing ZLE widgets. How can I debug such an issue?
Steps to reproduce the behavior:
Probably using my zsh config (and running update-shell
):
https://gist.github.com/randombenj/3d1d6e7d9d382f643848
zsh-syntax-highlighting: unhandled ZLE widget 'menu-search'
zsh-syntax-highlighting: (This is sometimes caused by doing `bindkey <keys> menu-search` without creating the 'menu-search' widget with `zle -N` or `zle -C`.)
zsh-syntax-highlighting: unhandled ZLE widget 'recent-paths'
zsh-syntax-highlighting: (This is sometimes caused by doing `bindkey <keys> recent-paths` without creating the 'recent-paths' widget with `zle -N` or `zle -C`.)
I don't know why but manually reverting zsh-autocomplete to 87a0c5a
(this is just a random pick) made the warnings disappear, to me.
I have the same issue. I do not use oh-my-zsh. I have found out that it happens in combination with the zsh-autocomplete plugin.
Edit: I need to correct myself. It happens with zsh-autocomplete and fast-syntax-highlighting, so not related to this plugin.
Following @VINTX2 rearranging the order of the plugins solved it for me. I placed zsh-autocomplete
after zsh-syntax-highlighting
@aatinubu Thanks this actually helped, for some reason i was not loading zsh-autocomplete
as a plugin but manually. So changin from this:
plugins=(git asdf zsh-syntax-highlighting zsh-autosuggestions)
source ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autocomplete/zsh-autocomplete.plugin.zsh
To this:
plugins=(git asdf zsh-syntax-highlighting zsh-autosuggestions zsh-autocomplete)
solved the issue for me.
I encountered this error due to using debian dpkg /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
. Here's how I fixed
znap source zsh-users/zsh-syntax-highlighting
instead of the debian dpkgfull diff https://gist.github.com/tonymet/257603dc775bc68cf5ffd1463f49a37a
I have the same issue. I do not use oh-my-zsh. I have found out that it happens in combination with the zsh-autocomplete plugin. Edit: I need to correct myself. It happens with zsh-autocomplete and fast-syntax-highlighting, so not related to this plugin.
Following @VINTX2 rearranging the order of the plugins solved it for me. I placed
zsh-autocomplete
afterzsh-syntax-highlighting
Rearranging the order also worked for me, using oh-my-zsh
This is happening to me using it along zsh-autosuggestions. It happens on my ubuntu box but not on fedora, no idea why. (I'm NOT using oh-my-zsh)
getting the same problem. reordering the load does not seem to work... :(
so basically seems like I could manually add zle -N menu-search
and zle -N recent-paths
before loading the plugin and it worked.
zsh-syntax-highlighting: unhandled ZLE widget 'insert-unambiguous-or-complete' zsh-syntax-highlighting: (This is sometimes caused by doing
bindkey <keys> insert-unambiguous-or-complete
without creating the 'insert-unambiguous-or-complete' widget withzle -N
orzle -C
.) zsh-syntax-highlighting: unhandled ZLE widget 'menu-search' zsh-syntax-highlighting: (This is sometimes caused by doingbindkey <keys> menu-search
without creating the 'menu-search' widget withzle -N
orzle -C
.) zsh-syntax-highlighting: unhandled ZLE widget 'recent-paths' zsh-syntax-highlighting: (This is sometimes caused by doingbindkey <keys> recent-paths
without creating the 'recent-paths' widget withzle -N
orzle -C
.)I am using ubuntu with oh-my-zsh, and keeping receiving this issue. Searched for so long and still cannot find a way to solve