Closed FranzMartyn closed 1 month ago
I am coming from this codewars issue , which uses codemirror 5 for it's editor.
Sometimes, codewars' editor gets the syntax highlighting for GStrings wrong when they contain interpolated values.
Codewars' editor does this:
instead of this (example from Intellij Idea):
But the syntax highlighting on codewars' editor works when adding curly braces:
It seems to display how it should when a character, that is neither a letter, nor a digit, nor whitespace, comes after the interpolated value
Attached patch should help.
I am coming from this codewars issue , which uses codemirror 5 for it's editor.
Sometimes, codewars' editor gets the syntax highlighting for GStrings wrong when they contain interpolated values.
Codewars' editor does this:
instead of this (example from Intellij Idea):
But the syntax highlighting on codewars' editor works when adding curly braces: