File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 22 "name" : " scala" ,
33 "displayName" : " Scala Syntax (official)" ,
44 "description" : " Official Scala Syntax" ,
5- "version" : " 0.4.1 " ,
5+ "version" : " 0.4.2 " ,
66 "publisher" : " scala-lang" ,
77 "license" : " SEE LICENSE IN LICENSE.md" ,
88 "engines" : {
Original file line number Diff line number Diff line change @@ -992,7 +992,7 @@ export const scalaTmLanguage: TmLanguage = {
992992 inheritance : {
993993 patterns : [
994994 {
995- match : `(extends|with|derives)\\s+(${ plainid } |${ backQuotedId } |(?=\\([^\\)]+=>)|(?="))` ,
995+ match : `(extends|with|derives)\\s+(${ idUpper } |${ backQuotedId } |(?=\\([^\\)]+=>)|(?= ${ plainid } )|(?="))` ,
996996 captures : {
997997 '1' : {
998998 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