Fix block comment highlighting in TextMate grammar

This commit is contained in:
Laurenz 2022-05-14 12:25:19 +02:00
parent 1df621868f
commit a3262af014

View File

@ -4,15 +4,20 @@
{ "include": "#markup" } { "include": "#markup" }
], ],
"repository": { "repository": {
"common": { "blockcomment": {
"patterns": [ "patterns": [
{ {
"name": "comment.block.typst", "name": "comment.block.typst",
"begin": "/\\*", "begin": "/\\*",
"end": "\\*/", "end": "\\*/",
"captures": { "0": { "name": "punctuation.definition.comment.typst" } }, "captures": { "0": { "name": "punctuation.definition.comment.typst" } },
"patterns": [{ "include": "$self" }] "patterns": [{ "include": "#blockcomment" }]
}
]
}, },
"common": {
"patterns": [
{ "include": "#blockcomment" },
{ {
"name": "meta.block.code.typst", "name": "meta.block.code.typst",
"begin": "{", "begin": "{",