summaryrefslogtreecommitdiff
path: root/meta/template
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-03-30 02:42:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-03-30 02:42:02 +0800
commit635b266a9188cf87ae856a21308347c113c52250 (patch)
tree76e9d80067b2b602f0b686cf25f655a3da871f09 /meta/template
parentbaa04101dfe6ce82046ec53eb7b52cedb02876ba (diff)
downloadlua-language-server-635b266a9188cf87ae856a21308347c113c52250.zip
update
Diffstat (limited to 'meta/template')
-rw-r--r--meta/template/basic.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/template/basic.lua b/meta/template/basic.lua
index b26d3959..980b3dc1 100644
--- a/meta/template/basic.lua
+++ b/meta/template/basic.lua
@@ -11,7 +11,7 @@ arg = {}
---@return T
function assert(v, message) end
----@alias cgopt
+---@alias gcoptions
---|>'"collect"' # ---#DESTAIL 'cgopt.collect'
---| '"stop"' # ---#DESTAIL 'cgopt.stop'
---| '"restart"' # ---#DESTAIL 'cgopt.restart'
@@ -28,12 +28,12 @@ function assert(v, message) end
---#if VERSION >= 5.4 then
---#DES 'collectgarbage'
----@param opt? cgopt
+---@param opt? gcoptions
---@return any
function collectgarbage(opt, ...) end
---#else
---#DES 'collectgarbage'
----@param opt? cgopt
+---@param opt? gcoptions
---@param arg? integer
---@return any
function collectgarbage(opt, arg) end