diff options
Diffstat (limited to 'script/core/command')
-rw-r--r-- | script/core/command/removeSpace.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/core/command/removeSpace.lua b/script/core/command/removeSpace.lua index ba1ee8eb..2df73a39 100644 --- a/script/core/command/removeSpace.lua +++ b/script/core/command/removeSpace.lua @@ -1,10 +1,11 @@ local files = require 'files' local searcher = require 'core.searcher' +local guide = require 'parser.guide' local proto = require 'proto' local lang = require 'language' local function isInString(ast, offset) - return searcher.eachSourceContain(ast.ast, offset, function (source) + return guide.eachSourceContain(ast.ast, offset, function (source) if source.type == 'string' then return true end |