summaryrefslogtreecommitdiff
path: root/server/src/service.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-09-16 22:02:33 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-09-16 22:02:33 +0800
commitac4ff86df32af5b0c0c2c730e5374130326f6129 (patch)
tree674e1907d70d49b81a1f91ec4f2cd1e742bf4034 /server/src/service.lua
parent6285173c57a6a644f598dd91defa4d499176303f (diff)
downloadlua-language-server-ac4ff86df32af5b0c0c2c730e5374130326f6129.zip
暂存
Diffstat (limited to 'server/src/service.lua')
-rw-r--r--server/src/service.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index 0b668b6d..a22dadc4 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -498,7 +498,7 @@ function mt:compileVM(uri)
self:_clearGlobal(uri)
local clock = os.clock()
- local vm, err = buildVM(ast, self, uri)
+ local vm, err = buildVM(ast, self, uri, file)
if vm then
CachedVM[vm] = true
end