You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There appears to be a compatibility issue between zsh-history-substring-search and these modules:
zsh-users/zsh-syntax-highlighting
zsh-users/zsh-autosuggestions
zsh-users/zsh-syntax-highlighting
It seems that when I try to enable all 4 plugins, syntax highlighting doesn't work with zsh-history-substring-search. However, disabling eitherzsh-autocomplete or zsh-syntax-highlighting causes highlighting to function properly.
Incidentally, replacing zsh-syntax-highlighting with fast-syntax-highlighting seems to make things work. Highlighting is a little different, but close.
Just having zsh-autosuggestions + zsh-history-substring-search (in any order) breaks autosuggestion highlighting.
All of these are trying to do the same thing "modify styling on the current line" and I think it's near impossible to coordinate them to all work together without merging them into a single plugin.
Based on the fact that people are suggesting to set the HIGHLIGHT_STYLE to white, it seems like it's not an obscure issue.
This same thing happened to me when configuring a new workstation, while on the old unit it was still working.. So I backtracked through both the autosuggestions and history-substring repos and did a few checkouts to earlier commits.
It seems the issue was introduced in this repository, with commit b4fb93d. If I revert to the commit before (563a551), the behaviour is back to normal again.
There appears to be a compatibility issue between
zsh-history-substring-search
and these modules:It seems that when I try to enable all 4 plugins, syntax highlighting doesn't work with
zsh-history-substring-search
. However, disabling eitherzsh-autocomplete
orzsh-syntax-highlighting
causes highlighting to function properly.Working (listed order is load order):
zsh-syntax-highlighting
+zsh-history-substring-search
zsh-autosuggestions
+zsh-syntax-highlighting
+zsh-history-substring-search
zsh-autocomplete
+zsh-autosuggestions
+zsh-history-substring-search
Not working (changing the order doesn't seem to help):
zsh-autocomplete
+zsh-autosuggestions
+zsh-syntax-highlighting
+zsh-history-substring-search
Incidentally, replacing
zsh-syntax-highlighting
withfast-syntax-highlighting
seems to make things work. Highlighting is a little different, but close.Possibly related to marlonrichert/zsh-autocomplete#517
The text was updated successfully, but these errors were encountered: