diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-04-20 18:08:20 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-04-20 18:08:20 +0800 |
commit | 554ddae7b4174131fadf16bda5a32e5e967abda5 (patch) | |
tree | c72e26dfd25150eaff2e87683a3de8a74b3fb3db /script/core/diagnostics/ambiguity-1.lua | |
parent | 6846a670da889ae45228a91bdbca7e695ff97b69 (diff) | |
download | lua-language-server-554ddae7b4174131fadf16bda5a32e5e967abda5.zip |
guide -> searcher
Diffstat (limited to 'script/core/diagnostics/ambiguity-1.lua')
-rw-r--r-- | script/core/diagnostics/ambiguity-1.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/script/core/diagnostics/ambiguity-1.lua b/script/core/diagnostics/ambiguity-1.lua index 19bb4f97..0b8385d8 100644 --- a/script/core/diagnostics/ambiguity-1.lua +++ b/script/core/diagnostics/ambiguity-1.lua @@ -1,6 +1,6 @@ -local files = require 'files' -local guide = require 'core.guide' -local lang = require 'language' +local files = require 'files' +local searcher = require 'core.searcher' +local lang = require 'language' local opMap = { ['+'] = true, @@ -30,7 +30,7 @@ return function (uri, callback) return end local text = files.getText(uri) - guide.eachSourceType(ast.ast, 'binary', function (source) + searcher.eachSourceType(ast.ast, 'binary', function (source) if source.op.type ~= 'or' then return end |