language-scala
language-scala copied to clipboard
Syntax highlight bug: `/*`()
The following code gets highlighted incorrectly:
def `/*`() = ()
`/*`()
The second /*
is being treated as if it were the start of a block comment, even though it's inside backticks.
Demo.
This exact same bug is present in the Scala TextMate bundle (mads-hartmann/scala.tmbundle/issues/58), which is currently used by Linguist, so you'll see the same problem in the code block above.