diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-05-19 14:41:18 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-05-19 14:41:18 +0800 |
commit | b2e8f04b3509caf5df2f41fa0858ef92df3700fc (patch) | |
tree | 219f5d3223cd18e8ce11aa45f7539f4eebe07075 /script/core/diagnostics/ambiguity-1.lua | |
parent | 81a3ad79e4f057d5670689e27823acf8391ce621 (diff) | |
download | lua-language-server-b2e8f04b3509caf5df2f41fa0858ef92df3700fc.zip |
update
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 0b8385d8..37815fb5 100644 --- a/script/core/diagnostics/ambiguity-1.lua +++ b/script/core/diagnostics/ambiguity-1.lua @@ -1,6 +1,6 @@ -local files = require 'files' -local searcher = require 'core.searcher' -local lang = require 'language' +local files = require 'files' +local guide = require 'parser.guide' +local lang = require 'language' local opMap = { ['+'] = true, @@ -30,7 +30,7 @@ return function (uri, callback) return end local text = files.getText(uri) - searcher.eachSourceType(ast.ast, 'binary', function (source) + guide.eachSourceType(ast.ast, 'binary', function (source) if source.op.type ~= 'or' then return end |