summaryrefslogtreecommitdiff
path: root/server-beta/src/core/reference.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-15 17:11:57 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-15 17:11:57 +0800
commitafc040fa210cfe5c21b4d92c20604a5c24bec4ca (patch)
treec8f25ccd2e0550cbddd583462e6761e5813e710d /server-beta/src/core/reference.lua
parenteab65efca420889312e226e04867f2ce408dcdb0 (diff)
downloadlua-language-server-afc040fa210cfe5c21b4d92c20604a5c24bec4ca.zip
漏了一个
Diffstat (limited to 'server-beta/src/core/reference.lua')
-rw-r--r--server-beta/src/core/reference.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server-beta/src/core/reference.lua b/server-beta/src/core/reference.lua
index 34487d30..1e845630 100644
--- a/server-beta/src/core/reference.lua
+++ b/server-beta/src/core/reference.lua
@@ -24,6 +24,7 @@ local function findRef(source, offset, callback)
and source.type ~= 'number'
and source.type ~= 'boolean'
and source.type ~= 'goto'
+ and source.type ~= 'label'
and not isFunction(source, offset) then
return
end