Skip to content

Commit

Permalink
Refactor parens
Browse files Browse the repository at this point in the history
  • Loading branch information
xsebek committed Jun 3, 2024
1 parent bc0d004 commit 77f260c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions editors/vscode/syntaxes/swarm.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,27 @@
},
"parens": {
"patterns": [
{
{ "include": "#paren" },
{ "include": "#brace" }
],
"repository": {
"paren": {
"begin": "\\(",
"end": "\\)",
"beginCaptures": { "0": { "name": "punctuation.paren.open" } },
"endCaptures": { "0": { "name": "punctuation.paren.close" } },
"name": "expression.group",
"patterns": [{ "include": "#expression" }]
},
{
"brace": {
"begin": "\\{",
"end": "\\}",
"beginCaptures": { "0": { "name": "punctuation.braces.open" } },
"endCaptures": { "0": { "name": "punctuation.braces.close" } },
"name": "expression.group",
"patterns": [{ "include": "#expression" }]
}
]
}
},
"comments": {
"patterns": [
Expand Down

0 comments on commit 77f260c

Please sign in to comment.