summaryrefslogtreecommitdiff
path: root/server/libs/@lua/basic.lni
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-09 19:04:08 +0800
committersumneko <sumneko@hotmail.com>2019-04-09 19:04:08 +0800
commit4fe47715dacfb18e79848a55f4e1b4d2607b0efd (patch)
tree34c33da689a6f559b9c47aa0856062b701853133 /server/libs/@lua/basic.lni
parent70441948891e7d9d5c2cde9bb81b095b529e4d72 (diff)
downloadlua-language-server-4fe47715dacfb18e79848a55f4e1b4d2607b0efd.zip
xpcall 的差异
Diffstat (limited to 'server/libs/@lua/basic.lni')
-rw-r--r--server/libs/@lua/basic.lni17
1 files changed, 17 insertions, 0 deletions
diff --git a/server/libs/@lua/basic.lni b/server/libs/@lua/basic.lni
index 13cf51a6..85d5d6da 100644
--- a/server/libs/@lua/basic.lni
+++ b/server/libs/@lua/basic.lni
@@ -541,6 +541,23 @@ name = 'result'
``````````
type = '...'
+['xpcall Lua 5.1']
+name = 'xpcall'
+version = 'Lua 5.1'
+[[.args]]
+name = 'f'
+type = 'function'
+``````````
+name = 'err'
+type = 'function'
+[[.returns]]
+name = 'success'
+type = 'boolean'
+``````````
+name = 'result'
+``````````
+type = '...'
+
[require]
special = 'require'
[[.args]]