summaryrefslogtreecommitdiff
path: root/server/libs
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-29 21:51:50 +0800
committersumneko <sumneko@hotmail.com>2019-04-29 21:51:50 +0800
commitbb56cb2c21bf6a6c7a6c3bf6bb069bc69c1f903c (patch)
tree294f29bbb03a357838545c42f6ab15ea5ef942c1 /server/libs
parentba5e88985b5344789100b1e8d91b68fe1f2cab1a (diff)
downloadlua-language-server-bb56cb2c21bf6a6c7a6c3bf6bb069bc69c1f903c.zip
emmy.arrayType
Diffstat (limited to 'server/libs')
-rw-r--r--server/libs/@lua/basic.lni34
1 files changed, 14 insertions, 20 deletions
diff --git a/server/libs/@lua/basic.lni b/server/libs/@lua/basic.lni
index a90a029e..61db69c9 100644
--- a/server/libs/@lua/basic.lni
+++ b/server/libs/@lua/basic.lni
@@ -127,32 +127,26 @@ name = 'object'
name = 'metatable'
type = 'table'
+[@ipairs]
+special = '@ipairs'
+[[.args]]
+type = 'table'
+``````````
+name = 'i'
+type = 'integer'
+[[.returns]]
+name = 'i'
+type = 'integer'
+``````````
+type = 'object'
+
[ipairs]
+special = 'ipairs'
[[.args]]
name = 't'
type = 'table'
[[.returns]]
name = 'iterator'
-type = 'function'
-args = {
- 1 = {
- name = 'table',
- type = 'table',
- },
- 2 = {
- name = 'i',
- type = 'integer',
- }
-}
-returns = {
- 1 = {
- name = 'i',
- type = 'integer',
- },
- 2 = {
- name = 'object',
- },
-}
``````````
name = 't'
type = 'table'