summaryrefslogtreecommitdiff
path: root/server/src/vm/global.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-19 14:28:12 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-19 14:28:12 +0800
commit8662a6394eaaa1f0514578299627f7c4ec9808bf (patch)
tree0b2cbf45d66a670bf66e8ce220393166172cb176 /server/src/vm/global.lua
parente1cd2b6866daa172aa19a87019ef38e3daaa702b (diff)
downloadlua-language-server-8662a6394eaaa1f0514578299627f7c4ec9808bf.zip
还是共享一下吧
Diffstat (limited to 'server/src/vm/global.lua')
-rw-r--r--server/src/vm/global.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/vm/global.lua b/server/src/vm/global.lua
index 8af38206..a775acd8 100644
--- a/server/src/vm/global.lua
+++ b/server/src/vm/global.lua
@@ -13,8 +13,7 @@ return function (lsp)
global = t._G
for k, v in pairs(t) do
- global:setChild(k, v)
- global:addInfo('set child', sourceMgr.dummy(), k, v)
+ global:setChild(k, v, sourceMgr.dummy())
end
end
if lsp then