summaryrefslogtreecommitdiff
path: root/server/libs
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-10 20:32:51 +0800
committersumneko <sumneko@hotmail.com>2019-04-10 20:32:51 +0800
commitcf5c0eaeb60c5610e7b9fe34f1d2df1376cb856d (patch)
tree009b7f0896c6d60654a153e3297141df45a9b597 /server/libs
parentce9e8a5033dd9ea9bfd2bb2c53af0906e638db28 (diff)
downloadlua-language-server-cf5c0eaeb60c5610e7b9fe34f1d2df1376cb856d.zip
穿透pcall与xpcall
Diffstat (limited to 'server/libs')
-rw-r--r--server/libs/@lua/basic.lni3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/libs/@lua/basic.lni b/server/libs/@lua/basic.lni
index 85d5d6da..333e44cd 100644
--- a/server/libs/@lua/basic.lni
+++ b/server/libs/@lua/basic.lni
@@ -346,6 +346,7 @@ type = 'table'
type = 'nil'
[pcall]
+special = pcall
[[.args]]
name = 'f'
type = 'function'
@@ -522,6 +523,7 @@ type = 'boolean'
optional = 'after'
[xpcall]
+special = xpcall
[[.args]]
name = 'f'
type = 'function'
@@ -544,6 +546,7 @@ type = '...'
['xpcall Lua 5.1']
name = 'xpcall'
version = 'Lua 5.1'
+special = xpcall
[[.args]]
name = 'f'
type = 'function'