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
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Hello, any workaround to clue the syntax highlighter to ignore the issue? I have some large zsh scripts using variable expansion and correct highlighting would be really nice.
I see that this issue is from 2018, pretty surprised that it has not been fixed yet especially since zsh is now the default shell on macOS. I am using Atom version 1.58 on macOS and the syntax highlighting for shell scripts with zsh breaks after I use the "${(%):-%x}" command. I expected maybe there would be a separate language plugin for zsh but that does not seem to be the case either. Kinda hard to believe that all these macOS Atom users are just living with busted syntax highlighting... is there some solution that has not been mentioned?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Prerequisites
Description
Syntax highlighting breaks with some variable expansions and string quoting.
Steps to Reproduce
Take this sample of code:
Expected behavior: [What you expect to happen]
Syntax highlighting past
${^abc}
should continue normally.Actual behavior: [What actually happens]
Safe mode screenshot:
Reproduces how often: [What percentage of the time does it reproduce?]
Always.
Versions
Seems to have changed in Atom 1.32 or 1.33, didn't see a problem before that.
Additional Information
Repository with some sample code for testing the highlighting: https://github.com/robobenklein/p10k
The text was updated successfully, but these errors were encountered: