Add labels and references to TextMate grammar
This commit is contained in:
parent
9362c279de
commit
0cb876ebf9
@ -117,6 +117,16 @@
|
||||
"end": "\\$",
|
||||
"captures": { "0": { "name": "punctuation.defintion.string.math.typst" } }
|
||||
},
|
||||
{
|
||||
"name": "entity.other.reference.typst",
|
||||
"match": "(@)[[:alpha:]_][[:alnum:]_-]*",
|
||||
"captures": { "1": { "name": "punctuation.definition.reference.typst" } }
|
||||
},
|
||||
{
|
||||
"name": "entity.other.label.typst",
|
||||
"match": "<[[:alpha:]_][[:alnum:]_-]*>",
|
||||
"captures": { "1": { "name": "punctuation.definition.label.typst" } }
|
||||
},
|
||||
{
|
||||
"begin": "(#)(pub|let|set|show|wrap)\\b",
|
||||
"end": "\n|(;)|(?=])",
|
||||
|
Loading…
x
Reference in New Issue
Block a user