summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2024-04-18 16:48:27 +0800
committer最萌小汐 <sumneko@hotmail.com>2024-04-18 16:48:27 +0800
commitb20367454f31cc178020ee8a0e34fe0a18ddbb01 (patch)
treedf17ec628290ab8414491ad2528d857856501d1e
parent8b442ab6296435ae3a949b70b0abac02d75b8741 (diff)
downloadlua-language-server-b20367454f31cc178020ee8a0e34fe0a18ddbb01.zip
alias (merge) 的语义着色
-rw-r--r--script/parser/guide.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index ac7a5ce0..e42f2acd 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -161,7 +161,7 @@ local childMap = {
['doc'] = {'#'},
['doc.class'] = {'class', '#extends', '#signs', 'docAttr', 'comment'},
['doc.type'] = {'#types', 'name', 'comment'},
- ['doc.alias'] = {'alias', 'extends', 'comment'},
+ ['doc.alias'] = {'alias', 'docAttr', 'extends', 'comment'},
['doc.enum'] = {'enum', 'extends', 'comment', 'docAttr'},
['doc.param'] = {'param', 'extends', 'comment'},
['doc.return'] = {'#returns', 'comment'},