summaryrefslogtreecommitdiff
path: root/script/files.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/files.lua')
-rw-r--r--script/files.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/files.lua b/script/files.lua
index 88ee466c..dc724b94 100644
--- a/script/files.lua
+++ b/script/files.lua
@@ -359,6 +359,7 @@ function m.getAst(uri)
if not ast then
ast = m.compileAst(uri, file.text)
m.astMap[uri] = ast
+ await.delay()
end
file.cacheActiveTime = timer.clock()
return ast