Skip to content

Commit

Permalink
Refactor comments
Browse files Browse the repository at this point in the history
  • Loading branch information
xsebek committed Jun 3, 2024
1 parent 77f260c commit af53fcf
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 @@ -66,9 +66,13 @@
},
"comments": {
"patterns": [
{ "name": "comment.line.double-slash", "begin": "//", "end": "$\\n?" },
{ "name": "comment.block", "begin": "/[*]", "end": "[*](/)" }
]
{ "include": "#line" },
{ "include": "#block" }
],
"repository": {
"line": { "name": "comment.line.double-slash", "begin": "//", "end": "$\\n?" },
"block": { "name": "comment.block", "begin": "/[*]", "end": "[*](/)" }
}
},
"strings": { "patterns": [{ "name": "string.quoted.double", "begin": "\"", "end": "\"" }] },
"constants": { "patterns": [{ "name": "constant.numeric", "match": "([0-9]+|0b[01]+|0o[0-8]+|0x\\x+)" }] },
Expand Down

0 comments on commit af53fcf

Please sign in to comment.