Skip to content

Commit d53acb6

Browse files
committed
Support string interpolation in key and value positions
But not when a single one acts as both key and value
1 parent 50093bb commit d53acb6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/typescript/Scala.tmLanguage.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,6 +1495,9 @@ export const scalaTmLanguage: TmLanguage = {
14951495
},
14961496
name: 'meta.structure.dictionary.json',
14971497
patterns: [
1498+
{
1499+
include: '#string-interpolation'
1500+
},
14981501
{
14991502
include: '#json-objectkey'
15001503
},
@@ -1585,6 +1588,9 @@ export const scalaTmLanguage: TmLanguage = {
15851588
},
15861589
'json-value': {
15871590
patterns: [
1591+
{
1592+
include: '#string-interpolation'
1593+
},
15881594
{
15891595
include: '#json-constant'
15901596
},

0 commit comments

Comments
 (0)