summaryrefslogtreecommitdiff
path: root/server/libs
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-06 18:07:10 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-06 18:07:10 +0800
commit979676be219b83c7295409824ee8280a3335cc5a (patch)
treee4928df884ddd961671d62876e84d2bec7c9ab19 /server/libs
parentd119c1cefff8a6a2812ac10375297f033a8cf5f0 (diff)
downloadlua-language-server-979676be219b83c7295409824ee8280a3335cc5a.zip
枚举
Diffstat (limited to 'server/libs')
-rw-r--r--server/libs/lua53/basic.lni38
1 files changed, 38 insertions, 0 deletions
diff --git a/server/libs/lua53/basic.lni b/server/libs/lua53/basic.lni
index 596b88f4..4963887a 100644
--- a/server/libs/lua53/basic.lni
+++ b/server/libs/lua53/basic.lni
@@ -2,8 +2,46 @@
type = 'function'
[assert]
+[[.args]]
+name = 'v'
+[[.args]]
+name = 'message'
+[[.returns]]
[collectgarbage]
+[[.args]]
+name = 'opt'
+type = 'string'
+optional = 'after'
+[[.args]]
+name = 'arg'
+type = 'number'
+optional = 'self'
+[[.returns]]
+[[.enums]]
+name = 'opt'
+enum = 'collect'
+[[.enums]]
+name = 'opt'
+enum = 'stop'
+[[.enums]]
+name = 'opt'
+enum = 'restart'
+[[.enums]]
+name = 'opt'
+enum = 'count'
+[[.enums]]
+name = 'opt'
+enum = 'step'
+[[.enums]]
+name = 'opt'
+enum = 'setpause'
+[[.enums]]
+name = 'opt'
+enum = 'setstepmul'
+[[.enums]]
+name = 'opt'
+enum = 'isrunning'
[dofile]