summaryrefslogtreecommitdiff
path: root/server/libs
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-07 13:59:32 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-07 13:59:32 +0800
commit4e4bc7c8908afb100233045a1b15368ba8764c59 (patch)
treef74a37d86179afb19101d4868782a4a803693eb2 /server/libs
parent2ece834c7f6923742a5a76108d1a8aad1fc1a611 (diff)
downloadlua-language-server-4e4bc7c8908afb100233045a1b15368ba8764c59.zip
支持库的子lib
Diffstat (limited to 'server/libs')
-rw-r--r--server/libs/lua53/table.lni24
1 files changed, 21 insertions, 3 deletions
diff --git a/server/libs/lua53/table.lni b/server/libs/lua53/table.lni
index 94e60664..756359c3 100644
--- a/server/libs/lua53/table.lni
+++ b/server/libs/lua53/table.lni
@@ -1,6 +1,3 @@
-[default]
-type = 'function'
-
[table]
type = 'table'
[[.source]]
@@ -8,3 +5,24 @@ type = 'global'
[[.source]]
type = 'library'
name = 'table'
+
+[default]
+type = 'function'
+[[.parent]]
+type = 'global'
+name = 'table'
+[[.parent]]
+type = 'library'
+name = 'table'
+
+[insert]
+[[.args]]
+name = 'list'
+type = 'table'
+[[.args]]
+name = 'pos'
+type = 'integer'
+optional = 'self'
+[[.args]]
+name = 'value'
+type = 'any'