diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-10-21 15:48:14 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-10-21 15:48:14 +0800 |
commit | 44348b5716c8f1797c28655ef3973d55ab3244d6 (patch) | |
tree | 47ad41c87c213f3fd870e97680c2b948c42fbf79 /script-beta/parser | |
parent | 3b1bdeeb79d1f7d49df1002c436511fdf20a57ff (diff) | |
download | lua-language-server-44348b5716c8f1797c28655ef3973d55ab3244d6.zip |
alias 的定义
Diffstat (limited to 'script-beta/parser')
-rw-r--r-- | script-beta/parser/guide.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua index 7bcf3165..5b1587a6 100644 --- a/script-beta/parser/guide.lua +++ b/script-beta/parser/guide.lua @@ -946,7 +946,8 @@ local function stepRefOfDocType(status, obj, mode) for i = 1, #docs do local doc = docs[i] if mode == 'def' then - if doc.type == 'doc.class.name' then + if doc.type == 'doc.class.name' + or doc.type == 'doc.alias.name' then results[#results+1] = doc end else |