File tree 3 files changed +14
-2
lines changed
3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " scala" ,
3
3
"displayName" : " Scala Syntax (official)" ,
4
4
"description" : " Official Scala Syntax" ,
5
- "version" : " 0.4.1 " ,
5
+ "version" : " 0.4.2 " ,
6
6
"publisher" : " scala-lang" ,
7
7
"license" : " SEE LICENSE IN LICENSE.md" ,
8
8
"engines" : {
Original file line number Diff line number Diff line change @@ -992,7 +992,7 @@ export const scalaTmLanguage: TmLanguage = {
992
992
inheritance : {
993
993
patterns : [
994
994
{
995
- match : `(extends|with|derives)\\s+(${ plainid } |${ backQuotedId } |(?=\\([^\\)]+=>)|(?="))` ,
995
+ match : `(extends|with|derives)\\s+(${ idUpper } |${ backQuotedId } |(?=\\([^\\)]+=>)|(?= ${ plainid } )|(?="))` ,
996
996
captures : {
997
997
'1' : {
998
998
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