summaryrefslogtreecommitdiff
path: root/script-beta/vm/guideInterface.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/vm/guideInterface.lua')
-rw-r--r--script-beta/vm/guideInterface.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/vm/guideInterface.lua b/script-beta/vm/guideInterface.lua
index ca949d59..f3ce2740 100644
--- a/script-beta/vm/guideInterface.lua
+++ b/script-beta/vm/guideInterface.lua
@@ -13,7 +13,7 @@ function m.searchFileReturn(results, ast, index)
if exp.type == 'table' then
vm.mergeResults(results, { exp })
else
- local newRes = vm.getDefs(exp)
+ local newRes = vm.getRefs(exp)
if #newRes > 0 then
vm.mergeResults(results, newRes)
else