summaryrefslogtreecommitdiff
path: root/server/libs
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-03 18:39:07 +0800
committersumneko <sumneko@hotmail.com>2019-04-03 18:39:07 +0800
commitb468e3bda20b5178faa0bc26b7afd433505cbbb6 (patch)
treebfaada09c5565a15677648fb59a983b5d9343dea /server/libs
parent59649fe8a9733bed0cda3ad999754821b11f3d02 (diff)
downloadlua-language-server-b468e3bda20b5178faa0bc26b7afd433505cbbb6.zip
collectgarbage的新模式
Diffstat (limited to 'server/libs')
-rw-r--r--server/libs/lua/basic.lni44
1 files changed, 44 insertions, 0 deletions
diff --git a/server/libs/lua/basic.lni b/server/libs/lua/basic.lni
index f822588f..d1c272b5 100644
--- a/server/libs/lua/basic.lni
+++ b/server/libs/lua/basic.lni
@@ -47,6 +47,50 @@ enum = 'setstepmul'
name = 'opt'
enum = 'isrunning'
+["collectgarbage Lua 5.4"]
+name = 'collectgarbage'
+version = 'Lua 5.4'
+[[.args]]
+name = 'opt'
+type = 'string'
+optional = 'after'
+``````````
+name = 'arg'
+type = 'integer'
+optional = 'self'
+[[.returns]]
+[[.enums]]
+name = 'opt'
+enum = 'collect'
+default = true
+``````````
+name = 'opt'
+enum = 'stop'
+``````````
+name = 'opt'
+enum = 'restart'
+``````````
+name = 'opt'
+enum = 'count'
+``````````
+name = 'opt'
+enum = 'step'
+``````````
+name = 'opt'
+enum = 'setpause'
+``````````
+name = 'opt'
+enum = 'setstepmul'
+``````````
+name = 'opt'
+enum = 'incremental'
+``````````
+name = 'opt'
+enum = 'generational'
+``````````
+name = 'opt'
+enum = 'isrunning'
+
[dofile]
special = 'dofile'
[[.args]]