summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-29 13:50:07 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-29 13:50:07 +0800
commit9ef167aa86a297b59ab064b9850633ccd12a3cfd (patch)
tree2854262d664eaf8cc2ee4578fe19af0e74208c87 /server
parentcc33507654fa35640118b13bdd3f19696631980a (diff)
downloadlua-language-server-9ef167aa86a297b59ab064b9850633ccd12a3cfd.zip
修正有时找不到定义的bug
Diffstat (limited to 'server')
-rw-r--r--server/src/core/definition.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/src/core/definition.lua b/server/src/core/definition.lua
index e41c6727..23b9eb03 100644
--- a/server/src/core/definition.lua
+++ b/server/src/core/definition.lua
@@ -149,7 +149,6 @@ local function parseValue(vm, source, lsp)
source:bindValue():eachInfo(function (info, src)
if info.type == 'set' or info.type == 'local' or info.type == 'return' then
callback(src)
- return true
end
end)
end