mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Fix block comment highlighting in TextMate grammar
This commit is contained in:
parent
1df621868f
commit
a3262af014
@ -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": "{",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user