Closed alexjurkiewicz closed 5 years ago
More tests. I also noticed an absolute variable bare resource name fails to highlight correctly.
Maybe the simplest solution is to stop trying to treat the resource name specially (eg highlighting it blue), and instead just treat it as a normal element. I would definitely prefer blue + red for variables though... Had a quick look at the grammar for this and it's pretty hairy, too complex for me to try and fix.
Just noticed #32 fixes part of this
These two resources are identical but get highlighted differently due to the space before colon:
Screenshot:
The first form is probably intended, but it doesn't highlight interpolated variables.