summaryrefslogtreecommitdiff
path: root/server-beta/src/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-15 16:49:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-15 16:49:15 +0800
commiteab65efca420889312e226e04867f2ce408dcdb0 (patch)
tree6a4cc1b831da6fa7cdef6c9712bf36021181681a /server-beta/src/core
parent6de8c401f4345863e0800a7262ca66c49b0a281c (diff)
downloadlua-language-server-eab65efca420889312e226e04867f2ce408dcdb0.zip
通过测试
Diffstat (limited to 'server-beta/src/core')
-rw-r--r--server-beta/src/core/definition.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/core/definition.lua b/server-beta/src/core/definition.lua
index 3fa7c3bf..a7008926 100644
--- a/server-beta/src/core/definition.lua
+++ b/server-beta/src/core/definition.lua
@@ -17,7 +17,7 @@ local function findDef(source, callback)
and source.type ~= 'goto' then
return
end
- searcher.eachRef(source, function (info)
+ searcher.eachDef(source, function (info)
if info.mode == 'declare'
or info.mode == 'set'
or info.mode == 'return' then