summaryrefslogtreecommitdiff
path: root/script/core/definition.lua
diff options
context:
space:
mode:
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)