summaryrefslogtreecommitdiff
path: root/server/meta/Lua 5.4
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-06-27 21:16:49 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-06-27 21:16:49 +0800
commit92aa3d6c203aef82a57efbe8216830a016db6d5e (patch)
treebc40905c5acd1ce368a468897345fcb40a5a04da /server/meta/Lua 5.4
parentca19e2ea1d6df45e7e2fa1ac7bd910e083a13600 (diff)
downloadlua-language-server-92aa3d6c203aef82a57efbe8216830a016db6d5e.zip
偷偷支持新的 EmmyEnum
Diffstat (limited to 'server/meta/Lua 5.4')
-rw-r--r--server/meta/Lua 5.4/basic.lua12
1 files changed, 11 insertions, 1 deletions
diff --git a/server/meta/Lua 5.4/basic.lua b/server/meta/Lua 5.4/basic.lua
index 4651c8b3..d94a3e10 100644
--- a/server/meta/Lua 5.4/basic.lua
+++ b/server/meta/Lua 5.4/basic.lua
@@ -11,7 +11,17 @@ end
---@overload fun()
---@overload fun(opt:string):any
----@param opt string {optional = 'after'} | '"collect"' | '"stop"' | '"restart"' | '"count"' | '"step"' | '"setpause"' | '"setstepmul"' | '"incremental"' | '"generational"' | '"isrunning"'
+---@param opt string {optional = 'after'}
+---| '"collect"'
+---| '"stop"'
+---| '"restart"'
+---| '"count"'
+---| '"step"'
+---| '"setpause"'
+---| '"setstepmul"'
+---| '"incremental"'
+---| '"generational"'
+---| '"isrunning"'
---@param arg integer {optional = 'self'}
---@return any
function collectgarbage(opt, arg)