diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-12 17:56:50 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-12 17:56:50 +0800 |
commit | ee7ddabf22768c57952e89098db9ffea84475ff7 (patch) | |
tree | 86f7e07c92a1925e9953eaef1755a410ed772f11 /server/libs | |
parent | 94da0c9d659f7ac01bf75ccdc37f236e90f8900a (diff) | |
download | lua-language-server-ee7ddabf22768c57952e89098db9ffea84475ff7.zip |
支持函数返回类型
Diffstat (limited to 'server/libs')
-rw-r--r-- | server/libs/lua53/basic.lni | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/libs/lua53/basic.lni b/server/libs/lua53/basic.lni index bbd6139e..aae7a895 100644 --- a/server/libs/lua53/basic.lni +++ b/server/libs/lua53/basic.lni @@ -240,6 +240,14 @@ type = 'nil' [setmetatable] special = 'setmetatable' +[[.args]] +name = 'table' +type = 'table' +[[.args]] +name = 'metatable' +type = 'table' +[[.returns]] +type = 'table' [tonumber] |