File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -191,6 +191,9 @@ export const scalaTmLanguage: TmLanguage = {
191191 {
192192 include : '#backQuotedVariable'
193193 } ,
194+ {
195+ include : '#curly-braces'
196+ } ,
194197 {
195198 include : '#meta-brackets'
196199 } ,
@@ -611,6 +614,25 @@ export const scalaTmLanguage: TmLanguage = {
611614 match : `(?>'${ plainid } )(?!')` ,
612615 name : 'constant.other.symbol.scala'
613616 } ,
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+ } ,
614636 'meta-brackets' : {
615637 patterns : [
616638 {
You can’t perform that action at this time.
0 commit comments