Wrong syntax highlighting color
SrAnthony opened this issue · comments
Have you got the experimental "semantic syntax highlighting" (or similar) turned on?
Didn't know about it...
Setting editor.semanticHighlighting.enabled to false seems to solve the issue :)
Seems like it's default in the new version :\
I'll work on an update that better supports semantic highlighting 🙂 to be honest, the feature is really cool and I'd like to turn it on, I just need to fix some problems
I don't think I can fix it myself. It's a problem with the implementation that VS Code will need to fix I think.
Leaving this open until it gets fixed
It's been fixed. It's disabled by default in the new update, add this to enable it:
"editor.tokenColorCustomizations": {
"semanticHighlighting": true
}
Works well in my brief experience. One thing that's not possible right now is distinguishing function calls and function declarations, which is possible in the regular TextMate grammars. Might open an issue...