Closed rightaway closed 11 months ago
On my machine, I have the exact same issue with zsh 5.8.1 !
If someone tells me how I could be of helf (I am a Python dev), I will gladly look into this.
I have the same issue on zsh 5.9-1
See #135 and compare my comments at https://github.com/zsh-users/zsh-syntax-highlighting/issues/872#issuecomment-1312034288.
@danielshahaf Is it something you can fix in this plugin so we can upgrade to 5.9?
@rightaway I neither use nor maintain this plugin. (My comment says "Member" because, being a z-sy-h maintainer, I am a member of https://github.com/zsh-users/; however, I don't have any special permissions on this repository.)
Fortunately, #135 which I linked to is a PR against this plugin. There's nothing stopping you from merging it locally — on the proviso that if it breaks anything, you get to keep both pieces.
Good luck.
@sunaku is the maintainer but not sure if this package is still maintained because no activity in the last year and half. Anyone know of alternatives that can be used with the latest zsh?
@guidovansteen @jirutka Could you take a look at this issue so that it's possible to upgrade to the latest zsh? Stuck on 5.8.
@sunaku Could you take a look at this issue so that it's possible to upgrade to the latest zsh? Stuck on 5.8.
The commit above fixes the immediate issue, but I don't understand the code nearly well enough to say if it's an appropriate fix or just haphazardly masking a problem elsewhere.
It can be the zstyle or region_highlight changes from https://zsh.sourceforge.io/releases.html that broke highlighting.
I've pushed a new version of the patch, which also explains what it does and why.
@Koston-0xDEADBEEF Thank you!
Patch is now merged, as @sunaku kindly trusted me with merge permission to this repository. Thank you!
Words that have already been highlighted by zsh-syntax-highlighting aren't highlighted anymore by this plugin in zsh 5.9. It was working in 5.8. Any workaround?