summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/unbalanced-assignments.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/diagnostics/unbalanced-assignments.lua')
-rw-r--r--script/core/diagnostics/unbalanced-assignments.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/diagnostics/unbalanced-assignments.lua b/script/core/diagnostics/unbalanced-assignments.lua
index b2b2800c..006223db 100644
--- a/script/core/diagnostics/unbalanced-assignments.lua
+++ b/script/core/diagnostics/unbalanced-assignments.lua
@@ -1,7 +1,7 @@
local files = require 'files'
local define = require 'proto.define'
local lang = require 'language'
-local guide = require 'core.guide'
+local searcher = require 'core.searcher'
return function (uri, callback, code)
local ast = files.getAst(uri)
@@ -31,7 +31,7 @@ return function (uri, callback, code)
end
end
- guide.eachSource(ast.ast, function (source)
+ searcher.eachSource(ast.ast, function (source)
if source.type == 'local'
or source.type == 'setlocal'
or source.type == 'setglobal'