summaryrefslogtreecommitdiff
path: root/script/core/command/removeSpace.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/command/removeSpace.lua')
-rw-r--r--script/core/command/removeSpace.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/command/removeSpace.lua b/script/core/command/removeSpace.lua
index 992a0705..87d11fff 100644
--- a/script/core/command/removeSpace.lua
+++ b/script/core/command/removeSpace.lua
@@ -38,7 +38,7 @@ return function (data)
end
local firstPos = guide.offsetToPosition(state, firstOffset) - 1
textEdit[#textEdit+1] = {
- range = converter.packRange(uri, firstPos, lastPos),
+ range = converter.packRange(state, firstPos, lastPos),
newText = '',
}