Test comment highlighting in Scala

Turns out that we don't need queries for comments, as we're already
using the is_extra() method for both parsing and highlighting.

Closes #120
html_output
Wilfred Hughes 2022-02-02 23:07:25 +07:00
parent 34a1946197
commit 27877e24f8
2 changed files with 4 additions and 0 deletions

@ -1,10 +1,12 @@
package foo
// A Scala program.
import foo.Baz
class Foo {
private def blah(): Other {
/* foo */
throw new Exception("after");
}

@ -1,10 +1,12 @@
package foo
// A Scala program.
import foo.Bar
class Foo {
def blah(): Int {
/* foo */
throw new Exception("before");
}