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.
1 parent 6c995f9 commit cb5960eCopy full SHA for cb5960e
src/typescript/Scala.tmLanguage.ts
@@ -480,7 +480,7 @@ export const scalaTmLanguage: TmLanguage = {
480
}
481
},
482
{
483
- match: '\\b(?:(case)\\s+)?(class|object)\\s+([^\\s\\{\\(\\[]+)',
+ match: '\\b(?:(case|open)\\s+)?(class|object)\\s+([^\\s\\{\\(\\[]+)',
484
captures: {
485
'1': {
486
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