Open arnaudambro opened 6 years ago
I'm using Sublime 3.1.1 build 3176 with Cobalt2 2.0.11 with no problems.
@arnaudambro, can you specify what version of Cobalt2 you're using? And can you maybe provide a screenshot and the relevant portion of your settings?
Sure ! Here it is below. You can see that React props are no longer italic, and the green color of objects key changed, so has the green color of the imported stuff.
On that one you can see that the arrow functions are not in orange if there is a semi-colon after the state
@arnaudambro Wonder if you found a solution for this issue?
My strong hunch is that this was caused by updated syntax highlighting in Sublime 3.1 (build 3170). The release notes mention:
- Many syntax highlighting improvements, including significant improvements to:
- JavaScript, with thanks to Thomas Smith
For a temporary fix, you could try downgrading to Sublime Text 3.0 (build 3143) (by copying/editing the download links on the download page to refer to the desired build).
Longer term, I think this would require many patches to the cobalt2 syntax theme to fix. I don't use Sublime Text and am not really interested in fixing it myself, but here are some resources I found that could be useful for someone else to fix the issues:
Hi Wes, or anybody else,
Your theme is no compatible anymore with the new version of Sublime Text, would somebody be nice and smart enough to update it ? I miss it soooo much... 😩
Cheers Arnaud