Not sure really where to put this, because this isn’t a bug with any specific grammar, nor is it a bug/issue with CodeMirror.
Right now I think most (all?) Lezer grammars don’t mark/highlight string escape sequences. Take the .json grammar - it explicitly parses them but does not highlight them with the escape
tag.
Basically, I don’t think I could do highlighting that looks like this:
I could solve it myself with an extension, or forking the grammar/highlighting, etc. But that really does seem inefficient. Is there any reasoning for why escapes in strings aren’t highlighted, or is it just something that hasn’t come up before?