summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/trailing-space.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/diagnostics/trailing-space.lua')
-rw-r--r--script/core/diagnostics/trailing-space.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/diagnostics/trailing-space.lua b/script/core/diagnostics/trailing-space.lua
index 0a4b1d57..6ee92d26 100644
--- a/script/core/diagnostics/trailing-space.lua
+++ b/script/core/diagnostics/trailing-space.lua
@@ -1,10 +1,10 @@
local files = require 'files'
local lang = require 'language'
-local guide = require 'core.guide'
+local searcher = require 'core.searcher'
local function isInString(ast, offset)
local result = false
- guide.eachSourceType(ast, 'string', function (source)
+ searcher.eachSourceType(ast, 'string', function (source)
if offset >= source.start and offset <= source.finish then
result = true
end