summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-18 20:12:33 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-18 20:12:33 +0800
commit9ba12022f003d3b4dade6a7cfdb4ef6594648299 (patch)
treee7f8e1e03321b389e097f0b72997f991949e2154 /script
parent16c69314cfba1d8bf9b4c44747038f0ef96a126f (diff)
downloadlua-language-server-9ba12022f003d3b4dade6a7cfdb4ef6594648299.zip
fix
Diffstat (limited to 'script')
-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 fc8c01f1..109bf601 100644
--- a/script/core/reference.lua
+++ b/script/core/reference.lua
@@ -91,6 +91,7 @@ return function (uri, offset)
end
if ( src.type == 'doc.class.name'
or src.type == 'doc.type.name'
+ or src.type == 'doc.extends.name'
)
and source.type ~= 'doc.type.name'
and source.type ~= 'doc.class.name' then