diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-29 16:06:23 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-29 16:06:23 +0800 |
commit | 6b682f2df0dcd76b70c4357e21045ea2175c146b (patch) | |
tree | e0b150f01aef5603d086919920b98daf3844ab9b /script/core/command | |
parent | 6c64d0a0b65bb7f1dbda14a91151f40e06c1adc0 (diff) | |
download | lua-language-server-6b682f2df0dcd76b70c4357e21045ea2175c146b.zip |
fix
Diffstat (limited to 'script/core/command')
-rw-r--r-- | script/core/command/removeSpace.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/command/removeSpace.lua b/script/core/command/removeSpace.lua index 2ef178f3..b94f9788 100644 --- a/script/core/command/removeSpace.lua +++ b/script/core/command/removeSpace.lua @@ -26,7 +26,7 @@ return function (data) local pos = line:find '[ \t]+$' if pos then local start, finish = guide.lineRange(lines, i, true) - start = start + pos - 1 + start = start + pos if isInString(ast, start) then goto NEXT_LINE end |