summaryrefslogtreecommitdiff
path: root/script/core/definition.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-18 20:25:54 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-18 20:25:54 +0800
commit170d9b5c7af761a2507727e4a9e303187a0f9120 (patch)
tree7c0fa455feca384b890cc11461de8d6c6ff83be0 /script/core/definition.lua
parentd845f923cb32aa08706cef2bff5c2af0bd35fa9a (diff)
downloadlua-language-server-170d9b5c7af761a2507727e4a9e303187a0f9120.zip
deep search
Diffstat (limited to 'script/core/definition.lua')
-rw-r--r--script/core/definition.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/definition.lua b/script/core/definition.lua
index 27a9e553..589e4d79 100644
--- a/script/core/definition.lua
+++ b/script/core/definition.lua
@@ -128,7 +128,7 @@ return function (uri, offset)
end
end
- local defs = vm.getDefs(source)
+ local defs = vm.getAllDefs(source)
local values = {}
for _, src in ipairs(defs) do
local value = searcher.getObjectValue(src)