summaryrefslogtreecommitdiff
path: root/script/core/reference.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/reference.lua')
-rw-r--r--script/core/reference.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/reference.lua b/script/core/reference.lua
index 6ea79f5f..fc8c01f1 100644
--- a/script/core/reference.lua
+++ b/script/core/reference.lua
@@ -65,7 +65,7 @@ return function (uri, offset)
local metaSource = vm.isMetaFile(uri)
- local refs = vm.getRefs(source)
+ local refs = vm.getAllRefs(source)
local values = {}
for _, src in ipairs(refs) do
local value = searcher.getObjectValue(src)