Closed kawre closed 9 months ago
Oh wow, that's a really clever fix. Thank you.
One minor thing is that it will also highlight any text inside dimensions the same color as the delimiter but it's not grammatically correct anyway so it's not a big problem.
If the code is not grammatically correct all bets are off anyway, so I'm fine with this trade-off.
The workaround i found is to treat
dimensions
node as a single delimiter which will highlight it the same color. One minor thing is that it will also highlight any text inside dimensions the same color as the delimiter but it's not grammatically correct anyway so it's not a big problem.