summaryrefslogtreecommitdiff
path: root/script-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-17 11:40:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-17 11:40:39 +0800
commit84c8c1500306eae1deccbad02e23c8e8186d452b (patch)
treed8d991767b0d9f9fe166297fd514663d893203c4 /script-beta
parenta9bf4d58c069d06cc6b7f002e0347eb26b0451ab (diff)
downloadlua-language-server-84c8c1500306eae1deccbad02e23c8e8186d452b.zip
更新
Diffstat (limited to 'script-beta')
-rw-r--r--script-beta/parser/guide.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua
index 17a294ca..0c29c96a 100644
--- a/script-beta/parser/guide.lua
+++ b/script-beta/parser/guide.lua
@@ -1552,6 +1552,10 @@ function m.checkSameSimpleByDoc(status, obj, start, queue, mode)
m.checkSameSimpleOfRefByDocSource(status, obj, start, queue, mode)
end
return true
+ elseif obj.type == 'doc.field' then
+ if mode ~= 'field' then
+ return m.checkSameSimpleByDoc(status, obj.extends, start, queue, mode)
+ end
end
end