summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-03-29 02:10:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-03-29 02:10:39 +0800
commitd12fb5e6b1d3b27fe33c04bc557a970f9c4ccb4e (patch)
tree47eec80c3a5678ea4632825fe44393cb5001f26c /script/core
parente745667530f0d4fd340beebc1545f86c76c78af1 (diff)
downloadlua-language-server-d12fb5e6b1d3b27fe33c04bc557a970f9c4ccb4e.zip
update
Diffstat (limited to 'script/core')
-rw-r--r--script/core/reference.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/core/reference.lua b/script/core/reference.lua
index 1e1b8e11..c7fa7782 100644
--- a/script/core/reference.lua
+++ b/script/core/reference.lua
@@ -105,6 +105,7 @@ return function (uri, position)
or src.type == 'doc.type.name'
or src.type == 'doc.extends.name' then
if source.type ~= 'doc.type.name'
+ and source.type ~= 'doc.class.name'
and source.type ~= 'doc.extends.name'
and source.type ~= 'doc.see.name' then
goto CONTINUE