Skip to content

Commit 8f9c58b

Browse files
committed
doc.resume 的着色
1 parent 4f8db52 commit 8f9c58b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

syntaxes/lua.tmLanguage.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,20 @@
517517
"include": "#luadoc.type"
518518
}
519519
]
520+
},
521+
{
522+
"begin": "(?<=---)\\|\\s*\\>?",
523+
"beginCaptures": {
524+
"0": {
525+
"name": "storage.type.annotation.lua"
526+
}
527+
},
528+
"end": "(?=[\\n#])",
529+
"patterns": [
530+
{
531+
"include": "#string"
532+
}
533+
]
520534
}
521535
]
522536
},

0 commit comments

Comments
 (0)