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 e907413 + 7a0825f commit 82a7f6bCopy full SHA for 82a7f6b
src/typescript/Scala.tmLanguage.ts
@@ -490,7 +490,7 @@ export const scalaTmLanguage: TmLanguage = {
490
name: 'keyword.control.flow.end.scala'
491
},
492
{
493
- match: `^\\s*(end)\\s+(?:(new)|(${idUpper}))${endOfLineMaybeWithComment}`,
+ match: `^\\s*(end)\\s+(?:(new|extension)|(${idUpper}))${endOfLineMaybeWithComment}`,
494
captures: {
495
'1': {
496
name: 'keyword.declaration.end.scala'
tests/unit/#107.test.scala
@@ -7,6 +7,10 @@
7
// ^^^ keyword.declaration.end.scala
8
9
10
+ end extension
11
+// ^^^ keyword.declaration.end.scala
12
+// ^^^^^^^^^ keyword.declaration.end.scala
13
+
14
end if
15
// ^^^ keyword.control.flow.end.scala
16
// ^^ keyword.control.flow.end.scala
0 commit comments