File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -403,6 +403,31 @@ export const scalaTmLanguage: TmLanguage = {
403
403
}
404
404
}
405
405
} ,
406
+ {
407
+ begin : `\\b(json)(""")` ,
408
+ end : `(""")(?!")|\\$\n|(\\$[^\\$"_{${ letterChars } ])` ,
409
+ beginCaptures : {
410
+ '1' : {
411
+ name : 'keyword.interpolation.scala'
412
+ } ,
413
+ '2' : {
414
+ name : 'string.quoted.triple.interpolated.scala punctuation.definition.string.begin.scala'
415
+ }
416
+ } ,
417
+ patterns : [
418
+ {
419
+ "include" : "source.json"
420
+ } ,
421
+ ] ,
422
+ endCaptures : {
423
+ '1' : {
424
+ name : 'string.quoted.triple.interpolated.scala punctuation.definition.string.end.scala'
425
+ } ,
426
+ '2' : {
427
+ name : 'invalid.illegal.unrecognized-string-escape.scala'
428
+ }
429
+ }
430
+ } ,
406
431
{
407
432
begin : `\\b(${ interpolatorid } )(""")` ,
408
433
end : `(""")(?!")|\\$\n|(\\$[^\\$"_{${ letterChars } ])` ,
You can’t perform that action at this time.
0 commit comments