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 2df73a39..6fb9669f 100644
--- a/script/core/command/removeSpace.lua
+++ b/script/core/command/removeSpace.lua
@@ -16,7 +16,7 @@ return function (data)
local uri = data.uri
local lines = files.getLines(uri)
local text = files.getText(uri)
- local ast = files.getAst(uri)
+ local ast = files.getState(uri)
if not lines then
return
end