File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 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 = {
935935 inheritance : {
936936 patterns : [
937937 {
938- match : '(extends|with|derives)\\s+([^\\s\\(\\{\\[\\]\\)\\};]+|(?=\\([^\\)]+=>))' ,
938+ match : '(extends|with|derives)\\s+([^\\s\\(\\{\\[\\]\\)\\};" ]+|(?=\\([^\\)]+=>)|(?=" ))' ,
939939 captures : {
940940 '1' : {
941941 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