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/trailing-space.lua | |
parent | 6846a670da889ae45228a91bdbca7e695ff97b69 (diff) | |
download | lua-language-server-554ddae7b4174131fadf16bda5a32e5e967abda5.zip |
guide -> searcher
Diffstat (limited to 'script/core/diagnostics/trailing-space.lua')
-rw-r--r-- | script/core/diagnostics/trailing-space.lua | 4 |
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 |