zsh-syntax-highlighting: unhandled ZLE widget
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 with zle -N or zle -C.)
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 am using ubuntu with oh-my-zsh, and keeping receiving this issue. Searched for so long and still cannot find a way to solve
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 11
- Comments: 18
Commits related to this issue
- zsh: finally got rid of the annoying message https://github.com/zsh-users/zsh-syntax-highlighting/issues/951 — committed to JohnRTitor/nix-conf by JohnRTitor 2 years ago
- zsh: finally got rid of the annoying message https://github.com/zsh-users/zsh-syntax-highlighting/issues/951 — committed to JohnRTitor/nix-conf by JohnRTitor 2 years ago
- zshrc: Reorder rc files After submodule update the following error is seen: "zsh-syntax-highlighting: unhandled ZLE widget 'insert-unambiguous-or-complete'" Rearranging plugin order appears to fix i... — committed to deuwin/dotfiles by deuwin 2 years ago
- Load zsh-autocomplete after zsh-autocomplete Resolves this issue on my Ubuntu box. https://github.com/zsh-users/zsh-syntax-highlighting/issues/951 — committed to justin/dotfiles by justin 2 years ago
Following @VINTX2 rearranging the order of the plugins solved it for me. I placed
zsh-autocompleteafterzsh-syntax-highlighting@aatinubu Thanks this actually helped, for some reason i was not loading
zsh-autocompleteas a plugin but manually. So changin from this:To this:
solved the issue for me.
How to fix it -->
My .zshrc plugins line looked like this -
i changed it to -
then -
it fixed my issue
after rearranging the zsh-autocomplete close the terminal and restart it again it will work fine
@aatinubu Thanks 🙏
so basically seems like I could manually add
zle -N menu-searchandzle -N recent-pathsbefore loading the plugin and it worked.I encountered this error due to using debian dpkg
/usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh. Here’s how I fixedznap source zsh-users/zsh-syntax-highlightinginstead of the debian dpkgfull diff https://gist.github.com/tonymet/257603dc775bc68cf5ffd1463f49a37a
getting the same problem. reordering the load does not seem to work… 😦
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 don’t know why another zsh plugin occurs this error, but in may case when
marlonrichert/zsh-autocompletereverted tag to23.07.13, the issue resolved.Brilliant. Only thing that worked for me. Thanks. 🥇
I don’t know why but manually reverting zsh-autocomplete to
87a0c5a(this is just a random pick) made the warnings disappear, to me.