summaryrefslogtreecommitdiff
path: root/script/files.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/files.lua')
-rw-r--r--script/files.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/files.lua b/script/files.lua
index d18fade3..fbc158ae 100644
--- a/script/files.lua
+++ b/script/files.lua
@@ -464,7 +464,7 @@ function m.compileState(uri, text)
end
return nil
end
- local prog <close> = progress.create(lang.script.WINDOW_COMPILING, 0.5)
+ local prog <close> = progress.create(ws.getScope(uri), lang.script.WINDOW_COMPILING, 0.5)
prog:setMessage(ws.getRelativePath(uri))
local clock = os.clock()
local state, err = parser.compile(text