summaryrefslogtreecommitdiff
path: root/server/src/vm/global.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-15 15:59:22 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-15 15:59:22 +0800
commit785d3e5963f793de712a96c88db08c684cb26bfc (patch)
tree168ddc2011887caf835c8408cd3263f37151cc9f /server/src/vm/global.lua
parent9aaf4607376e11a35fe04ef86baa3c18a9d90864 (diff)
downloadlua-language-server-785d3e5963f793de712a96c88db08c684cb26bfc.zip
修正全局库变量的一些问题
Diffstat (limited to 'server/src/vm/global.lua')
-rw-r--r--server/src/vm/global.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/vm/global.lua b/server/src/vm/global.lua
index 99f05e37..58893d66 100644
--- a/server/src/vm/global.lua
+++ b/server/src/vm/global.lua
@@ -15,6 +15,7 @@ return function (lsp)
global:set('_G', true)
for k, v in pairs(t) do
global:setChild(k, v)
+ global:addInfo('set child', sourceMgr.dummy(), k)
end
end
if lsp then