summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2024-04-18 15:03:36 +0800
committer最萌小汐 <sumneko@hotmail.com>2024-04-18 15:03:36 +0800
commit8b442ab6296435ae3a949b70b0abac02d75b8741 (patch)
tree34ac5a8b116a56de4da81060c3474dc68c13e209 /script/parser/luadoc.lua
parent1b3a03e310e2751edbd49709a2bba1e34caeb9f2 (diff)
downloadlua-language-server-8b442ab6296435ae3a949b70b0abac02d75b8741.zip
如果有 merge 属性,则跳过 `duplicate-doc-alias` 检查
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 242b878e..bbffed25 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -1026,6 +1026,7 @@ local docSwitch = util.switch()
local result = {
type = 'doc.alias',
}
+ result.docAttr = parseDocAttr()
result.alias = parseName('doc.alias.name', result)
if not result.alias then
pushWarning {