summaryrefslogtreecommitdiff
path: root/server-beta/src/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-10-22 15:40:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-10-22 15:40:02 +0800
commit4b3d9412560935d11e63487d6be7d3bfb8b11b91 (patch)
tree408ffe09d74bd48912f5ede6b5cb8837d37f7ea5 /server-beta/src/core
parent917d721acdf86ff69728fae89662019c519ea561 (diff)
downloadlua-language-server-4b3d9412560935d11e63487d6be7d3bfb8b11b91.zip
打开跨文件def测试
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 b3ec7cf8..e0589752 100644
--- a/server-beta/src/core/definition.lua
+++ b/server-beta/src/core/definition.lua
@@ -1,7 +1,7 @@
local guide = require 'parser.guide'
local engineer = require 'core.engineer'
-return function (ast, text, offset)
+return function (ast, offset)
local results = {}
local searcher = engineer(ast)
guide.eachSourceContain(ast.ast, offset, function (source)