summaryrefslogtreecommitdiff
path: root/server/libs
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-11 09:47:01 +0800
committersumneko <sumneko@hotmail.com>2019-04-11 09:47:01 +0800
commit0c1d4ff0f246c326e036e385a8cfe21c093bcb3b (patch)
tree7b720858e7532f1642c5390614d5b224e0f3cb6f /server/libs
parentb8d7a32c9dcb270275be6fd1c1d5867787e84e34 (diff)
downloadlua-language-server-0c1d4ff0f246c326e036e385a8cfe21c093bcb3b.zip
更新 coroutine.isyieldable
Diffstat (limited to 'server/libs')
-rw-r--r--server/libs/@lua/coroutine.lni10
1 files changed, 10 insertions, 0 deletions
diff --git a/server/libs/@lua/coroutine.lni b/server/libs/@lua/coroutine.lni
index be604cb8..0006769f 100644
--- a/server/libs/@lua/coroutine.lni
+++ b/server/libs/@lua/coroutine.lni
@@ -31,6 +31,16 @@ type = 'thread'
[[.returns]]
type = 'boolean'
+['isyieldable Lua 5.4']
+name = isyieldable
+version = 'Lua 5.4'
+[[.args]]
+name = co
+type = thread
+optional = after
+[[.returns]]
+type = boolean
+
[kill]
version = 'Lua 5.4'
[[.args]]