summaryrefslogtreecommitdiff
path: root/script/vm/global-manager.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-03-04 16:06:28 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-03-04 16:06:28 +0800
commit9451329b33de1e7b69f2793ac5f94715826c9895 (patch)
tree5699d9bae02f77724eb906ce863afaa72a424f62 /script/vm/global-manager.lua
parent57a164bf73714f5a4f9d3eb65eb0f0361d21eed7 (diff)
downloadlua-language-server-9451329b33de1e7b69f2793ac5f94715826c9895.zip
update
Diffstat (limited to 'script/vm/global-manager.lua')
-rw-r--r--script/vm/global-manager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/global-manager.lua b/script/vm/global-manager.lua
index 438d3d72..bda7b744 100644
--- a/script/vm/global-manager.lua
+++ b/script/vm/global-manager.lua
@@ -162,7 +162,7 @@ function m.declareGlobal(cate, name, uri)
local key = cate .. '|' .. name
m.globalSubs[uri][key] = true
if not m.globals[key] then
- m.globals[key] = globalBuilder(name)
+ m.globals[key] = globalBuilder(name, cate)
end
return m.globals[key]
end