diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-11 11:17:19 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-11 11:17:19 +0800 |
commit | cd53ef59e59e71ec2ad9205c59f61c8d3565a4cd (patch) | |
tree | 58ecf7b9f907f348c0e8e458cd0d0e94847235a1 /server/libs | |
parent | a894e10eb98bc4fe2f7b20a1649687db1fa99697 (diff) | |
download | lua-language-server-cd53ef59e59e71ec2ad9205c59f61c8d3565a4cd.zip |
更新vm
Diffstat (limited to 'server/libs')
-rw-r--r-- | server/libs/bee/filesystem.lni | 4 | ||||
-rw-r--r-- | server/libs/lua53/basic.lni | 9 | ||||
-rw-r--r-- | server/libs/lua53/io.lni | 6 |
3 files changed, 14 insertions, 5 deletions
diff --git a/server/libs/bee/filesystem.lni b/server/libs/bee/filesystem.lni index 024787ee..1f09307b 100644 --- a/server/libs/bee/filesystem.lni +++ b/server/libs/bee/filesystem.lni @@ -15,8 +15,8 @@ nick = 'fs' [current_path] [[.args]] name = 'new_path' -type = '*bee::filesystem' +type = 'bee::filesystem' optional = 'self' [[.returns]] -type = '*bee::filesystem' +type = 'bee::filesystem' optional = 'self' diff --git a/server/libs/lua53/basic.lni b/server/libs/lua53/basic.lni index 74383619..ae25c68d 100644 --- a/server/libs/lua53/basic.lni +++ b/server/libs/lua53/basic.lni @@ -179,6 +179,15 @@ type = 'table' [[.returns]] name = 'iterator' type = 'function' +returns = { + 1 = { + name = 'i', + type = 'integer', + }, + 2 = { + name = 'object', + }, +} [[.returns]] name = 't' type = 'table' diff --git a/server/libs/lua53/io.lni b/server/libs/lua53/io.lni index 4bd37315..1ba31fb9 100644 --- a/server/libs/lua53/io.lni +++ b/server/libs/lua53/io.lni @@ -16,7 +16,7 @@ type = 'library' name = 'io' [stdin] -type = '*FILE*' +type = 'FILE*' [close] [[.parent]] @@ -27,8 +27,8 @@ type = 'library' name = 'table' [[.parent]] type = 'object' -name = '*FILE*' +name = 'FILE*' [[.args]] -type = '*FILE*' +type = 'FILE*' name = 'file' optional = 'self' |