diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-10 20:25:16 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-10 20:25:16 +0800 |
commit | 85cf8a5843e3c2e5c3bd4e17cf32eb1c1ba8a05e (patch) | |
tree | 223772f5f5f50b8430ec1656aa62b89a4d49e170 /script/core/command | |
parent | 840947ef84baa30356bea82c87f81908876fd206 (diff) | |
download | lua-language-server-85cf8a5843e3c2e5c3bd4e17cf32eb1c1ba8a05e.zip |
fix
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 |