summaryrefslogtreecommitdiff
path: root/server-beta/src/files.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/files.lua')
-rw-r--r--server-beta/src/files.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server-beta/src/files.lua b/server-beta/src/files.lua
index c3b33122..bc940e0f 100644
--- a/server-beta/src/files.lua
+++ b/server-beta/src/files.lua
@@ -129,6 +129,7 @@ function m.getAst(uri)
local state, err = parser:compile(file.text, 'lua', config.config.runtime.version)
if state then
state.uri = file.uri
+ state.ast.uri = file.uri
file.ast = state
else
log.error(err)