We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b8d3232 + cb5960e commit e293826Copy full SHA for e293826
src/typescript/Scala.tmLanguage.ts
@@ -553,7 +553,7 @@ export const scalaTmLanguage: TmLanguage = {
553
}
554
},
555
{
556
- match: '\\b(?:(case)\\s+)?(class|object)\\s+([^\\s\\{\\(\\[]+)',
+ match: '\\b(?:(case|open)\\s+)?(class|object)\\s+([^\\s\\{\\(\\[]+)',
557
captures: {
558
'1': {
559
name: 'keyword.declaration.scala'
tests/unit/#91.test.scala
@@ -0,0 +1,6 @@
1
+// SYNTAX TEST "source.scala"
2
+
3
+ open class A
4
+// ^^^^ keyword.declaration.scala
5
+// ^^^^^ keyword.declaration.scala
6
+// ^ entity.name.class.declaration
0 commit comments