File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -935,7 +935,7 @@ export const scalaTmLanguage: TmLanguage = {
935
935
inheritance : {
936
936
patterns : [
937
937
{
938
- match : '(extends|with|derives)\\s+([^\\s\\(\\{\\[\\]\\)\\};]+|(?=\\([^\\)]+=>))' ,
938
+ match : '(extends|with|derives)\\s+([^\\s\\(\\{\\[\\]\\)\\};" ]+|(?=\\([^\\)]+=>)|(?=" ))' ,
939
939
captures : {
940
940
'1' : {
941
941
name : 'keyword.declaration.scala'
Original file line number Diff line number Diff line change
1
+ // SYNTAX TEST "source.scala"
2
+
3
+
4
+ Type [A with " user provided string" with B ]
5
+ // ^ entity.name.class
6
+ // ^^^^ keyword.declaration.scala
7
+ // ^ string.quoted.double.scala punctuation.definition.string.begin.scala
8
+ // ^^^^^^^^^^^^^^^^^^^^ string.quoted.double.scala
9
+ // ^ string.quoted.double.scala punctuation.definition.string.end.scala
10
+ // ^^^^ keyword.declaration.scala
11
+ // ^ entity.other.inherited-class.scala
You can’t perform that action at this time.
0 commit comments