File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -993,7 +993,7 @@ export const scalaTmLanguage: TmLanguage = {
993
993
inheritance : {
994
994
patterns : [
995
995
{
996
- match : `(extends|with|derives)\\s+(${ plainid } |${ backQuotedId } |(?=\\([^\\)]+=>)|(?="))` ,
996
+ match : `(extends|with|derives)\\s+(${ idUpper } |${ backQuotedId } |(?=\\([^\\)]+=>)|(?= ${ plainid } )|(?="))` ,
997
997
captures : {
998
998
'1' : {
999
999
name : 'keyword.declaration.scala'
Original file line number Diff line number Diff line change
1
+ // SYNTAX TEST "source.scala"
2
+
3
+ class Foo extends scala.collection.Seq [Int ]
4
+ // ^^^^^ keyword.declaration.scala
5
+ // ^^^ entity.name.class.declaration
6
+ // ^^^^^^^ keyword.declaration.scala
7
+ // ^^^^^ source.scala
8
+ // ^^^^^^^^^^ source.scala
9
+ // ^^^ entity.name.class
10
+ // ^ meta.bracket.scala
11
+ // ^^^ entity.name.class
12
+ // ^ meta.bracket.scala
You can’t perform that action at this time.
0 commit comments