summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-20 11:04:47 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-20 11:04:47 +0800
commit19aedecc1d66b4e6af437a2d3106d16e054b29a5 (patch)
treeebaaf89049eec4e3aeeaa799f4042ebd3e4752f2 /server/src
parente9ec6c5d7812fb29cda834b2726ad972bd3f0d49 (diff)
downloadlua-language-server-19aedecc1d66b4e6af437a2d3106d16e054b29a5.zip
修正报错
Diffstat (limited to 'server/src')
-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