Skip to content

Commit 609c903

Browse files
committed
Improve syntax highlighting
1 parent 027b8c2 commit 609c903

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.vitepress/maml.json

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,14 @@
88
],
99
"repository": {
1010
"comments": {
11-
"begin": "(^[\\t ]+)?(?=#)",
11+
"begin": "(#)",
1212
"beginCaptures": {
1313
"1": {
14-
"name": "punctuation.whitespace.comment.leading.maml"
14+
"name": "punctuation.definition.comment.maml"
1515
}
1616
},
17-
"end": "(?!\\G)",
18-
"patterns": [
19-
{
20-
"begin": "#",
21-
"beginCaptures": {
22-
"0": {
23-
"name": "punctuation.definition.comment.maml"
24-
}
25-
},
26-
"end": "\\n",
27-
"name": "comment.line.number-sign.maml"
28-
}
29-
]
17+
"end": "$|(?=#)",
18+
"name": "punctuation.definition.comment.maml"
3019
},
3120
"array": {
3221
"begin": "\\[",

0 commit comments

Comments
 (0)