File tree Expand file tree Collapse file tree 3 files changed +56
-1
lines changed Expand file tree Collapse file tree 3 files changed +56
-1
lines changed Original file line number Diff line number Diff line change @@ -191,6 +191,9 @@ export const scalaTmLanguage: TmLanguage = {
191
191
{
192
192
include : '#backQuotedVariable'
193
193
} ,
194
+ {
195
+ include : '#curly-braces'
196
+ } ,
194
197
{
195
198
include : '#meta-brackets'
196
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
+ '0' : {
627
+ name : 'punctuation.section.block.end.scala'
628
+ }
629
+ } ,
630
+ patterns : [
631
+ {
632
+ include : '#code'
633
+ }
634
+ ]
635
+ } ,
614
636
'meta-brackets' : {
615
637
patterns : [
616
638
{
You can’t perform that action at this time.
0 commit comments