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 @@ -847,7 +847,7 @@ export const scalaTmLanguage: TmLanguage = {
847847 inheritance : {
848848 patterns : [
849849 {
850- match : '(extends|with|derives)\\s+([^\\s\\{\\[\\]]+ )' ,
850+ match : '(extends|with|derives)\\s+([^\\s\\{\\[\\]"]+|(?=") )' ,
851851 captures : {
852852 '1' : {
853853 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 profided 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