Closed caleb531 closed 3 years ago
@kevinsawicki @Ben3eeE Any chance on this getting merged? Atom 1.38 has been released with https://github.com/atom/language-json/pull/68, which currently breaks JSON highlighting for this syntax theme. Merging in this PR will fix that—I've been running off my monokai
fork and it's been working well so far.
@gustavoalfaro Do you have any insight into when a new release of this theme (containing this merged PR) may be pushed to apm?
I can create a release soon, I was taking a look into this because looks like I'm the only only one in charge of the theme now, so I'll check some more PRs and get up to speed with the project to release a new version with your changes
@caleb531 I just released the v0.26.0 with these changes!
Description of the Change
This PR fixes the slightly-broken highlighting for JSON files when @Ben3eeE's tree-sitter JSON grammar is applied. See atom/language-json#68.
These changes are backwards-compatible with the current first-mate JSON grammar.
Before:
![Screen Shot 2019-04-13 at 10 49 22 AM](https://user-images.githubusercontent.com/872474/56083470-50b7fe80-5dda-11e9-9335-4e2b42d47a46.png)
After:
![Screen Shot 2019-04-13 at 10 49 39 AM](https://user-images.githubusercontent.com/872474/56083475-57df0c80-5dda-11e9-8961-c266617e85a3.png)
Benefits
The highlighting for JSON files (the way Monokai highlighted them for the first-mate grammar) is restored.
Possible Drawbacks
Perhaps some users do not like the green highlighting for key names, though I personally prefer them (and at any rate, it's nicer than having the key names colored the same as string values).
I'm also open to considerations for a different link style other than blue/underline. I don't have much of a preference either way on that.