Hi, this PR fixes fontification of interpolation strings in circumstances where the $ character appears more than once in sequence, for example before:
After:
Essentially, scala-syntax:interpolation-re has been tweaked so that it only matches $ at the start of the string, and only the last dollar sign in expressions where an odd number of dollar signs occur. Could also fontify $$ in interpolation strings to make it clear they're special.
lmk what you think, hopefully I've caught all the edge cases. Thanks, Laurence
Hi, this PR fixes fontification of interpolation strings in circumstances where the
$
character appears more than once in sequence, for example before: After:Essentially,
scala-syntax:interpolation-re
has been tweaked so that it only matches$
at the start of the string, and only the last dollar sign in expressions where an odd number of dollar signs occur. Could also fontify$$
in interpolation strings to make it clear they're special.lmk what you think, hopefully I've caught all the edge cases. Thanks, Laurence