We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b5e29e commit 3807dacCopy full SHA for 3807dac
src/typescript/Scala.tmLanguage.ts
@@ -191,6 +191,9 @@ export const scalaTmLanguage: TmLanguage = {
191
{
192
include: '#backQuotedVariable'
193
},
194
+ {
195
+ include: '#curly-braces'
196
+ },
197
198
include: '#meta-brackets'
199
@@ -611,6 +614,25 @@ export const scalaTmLanguage: TmLanguage = {
611
614
match: `(?>'${plainid})(?!')`,
612
615
name: 'constant.other.symbol.scala'
613
616
617
+ 'curly-braces': {
618
+ begin: '\\{',
619
+ end: '\\}',
620
+ beginCaptures: {
621
+ '0': {
622
+ name: 'punctuation.section.block.begin.scala'
623
+ }
624
625
+ endCaptures: {
626
627
+ name: 'punctuation.section.block.end.scala'
628
629
630
+ patterns: [
631
632
+ include: '#code'
633
634
+ ]
635
636
'meta-brackets': {
637
patterns: [
638
0 commit comments