summaryrefslogtreecommitdiff
path: root/script-beta/vm/guideInterface.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-07-24 20:20:48 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-07-24 20:20:48 +0800
commit1e11d151c29b1e107c09ef694ed9fe2d929b6fc9 (patch)
tree4422f8eb37333b7b0e4f3884ce8ae0da82911290 /script-beta/vm/guideInterface.lua
parentad0db70b2eb45f956e7e301fddf133025e58c7d9 (diff)
downloadlua-language-server-1e11d151c29b1e107c09ef694ed9fe2d929b6fc9.zip
更多的定义穿透
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