File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 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 = {
993993 inheritance : {
994994 patterns : [
995995 {
996- match : `(extends|with|derives)\\s+(${ plainid } |${ backQuotedId } |(?=\\([^\\)]+=>)|(?="))` ,
996+ match : `(extends|with|derives)\\s+(${ idUpper } |${ backQuotedId } |(?=\\([^\\)]+=>)|(?= ${ plainid } )|(?="))` ,
997997 captures : {
998998 '1' : {
999999 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