summaryrefslogtreecommitdiff
path: root/script/core/folding.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/folding.lua')
-rw-r--r--script/core/folding.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/folding.lua b/script/core/folding.lua
index 38008be9..dad98422 100644
--- a/script/core/folding.lua
+++ b/script/core/folding.lua
@@ -145,7 +145,7 @@ local Care = {
}
return function (uri)
- local ast = files.getAst(uri)
+ local ast = files.getState(uri)
local text = files.getText(uri)
if not ast or not text then
return nil