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 @@ -847,7 +847,7 @@ export const scalaTmLanguage: TmLanguage = {
847
847
inheritance : {
848
848
patterns : [
849
849
{
850
- match : '(extends|with|derives)\\s+([^\\s\\{\\[\\]]+ )' ,
850
+ match : '(extends|with|derives)\\s+([^\\s\\{\\[\\]"]+|(?=") )' ,
851
851
captures : {
852
852
'1' : {
853
853
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