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" }
],
"repository": {
"common": {
"blockcomment": {
"patterns": [
{
"name": "comment.block.typst",
"begin": "/\\*",
"end": "\\*/",
"captures": { "0": { "name": "punctuation.definition.comment.typst" } },
"patterns": [{ "include": "$self" }]
},
"patterns": [{ "include": "#blockcomment" }]
}
]
},
"common": {
"patterns": [
{ "include": "#blockcomment" },
{
"name": "meta.block.code.typst",
"begin": "{",