Skip to content

Commit 4c76b25

Browse files
committed
support ---@see
1 parent cf7a4e5 commit 4c76b25

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

server

syntaxes/lua.tmLanguage.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,25 @@
562562
}
563563
]
564564
},
565+
{
566+
"begin": "(?<=---\\s*)@see",
567+
"beginCaptures": {
568+
"0": {
569+
"name": "storage.type.annotation.lua"
570+
}
571+
},
572+
"end": "(?=\\n)",
573+
"patterns": [
574+
{
575+
"match": "\\b([a-zA-Z_\\*][a-zA-Z0-9_\\.\\*]*)",
576+
"name": "support.class.lua"
577+
},
578+
{
579+
"match": "#",
580+
"name": "keyword.operator.lua"
581+
}
582+
]
583+
},
565584
{
566585
"begin": "(?<=---)\\|\\s*[\\>\\+]?",
567586
"beginCaptures": {

0 commit comments

Comments
 (0)