From 1e11d151c29b1e107c09ef694ed9fe2d929b6fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 24 Jul 2020 20:20:48 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E5=A4=9A=E7=9A=84=E5=AE=9A=E4=B9=89=E7=A9=BF?= =?UTF-8?q?=E9=80=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script-beta/vm/guideInterface.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script-beta/vm/guideInterface.lua') 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 -- cgit v1.2.3