Closed JakobR closed 4 years ago
Hello @JakobR !
Syntax Highlighter is designed to parse a source code at a slightly coarser scale. The smallest token is a syntax term. Such functionality will require additional parsing of individual tokens.
Kindly note that constant.character.escape
is a rule for TextMate scopes, not Semantic Tokens.
Hi, thanks for your answer! I see now that this is out of scope for this project.
Is it possible to highlight escape sequences in strings differently than the rest of the string? E.g., like this:
I tried setting
constant.character.escape
, but this did not make a difference as far as I can tell.