diff --git a/editors/vscode/syntaxes/swarm.tmLanguage.json b/editors/vscode/syntaxes/swarm.tmLanguage.json index 6a9255f04..2b365bcf3 100644 --- a/editors/vscode/syntaxes/swarm.tmLanguage.json +++ b/editors/vscode/syntaxes/swarm.tmLanguage.json @@ -42,7 +42,11 @@ }, "parens": { "patterns": [ - { + { "include": "#paren" }, + { "include": "#brace" } + ], + "repository": { + "paren": { "begin": "\\(", "end": "\\)", "beginCaptures": { "0": { "name": "punctuation.paren.open" } }, @@ -50,7 +54,7 @@ "name": "expression.group", "patterns": [{ "include": "#expression" }] }, - { + "brace": { "begin": "\\{", "end": "\\}", "beginCaptures": { "0": { "name": "punctuation.braces.open" } }, @@ -58,7 +62,7 @@ "name": "expression.group", "patterns": [{ "include": "#expression" }] } - ] + } }, "comments": { "patterns": [