summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/src/workspace.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/workspace.lua b/server/src/workspace.lua
index 104a15c7..89806e1e 100644
--- a/server/src/workspace.lua
+++ b/server/src/workspace.lua
@@ -60,7 +60,7 @@ end
function mt:addFile(uri)
if uri:sub(-4) == '.lua' then
- self.files[path] = true
+ self.files[uri] = true
end
end