summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-17 17:46:06 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-17 17:46:06 +0800
commit92f927854f697d4220e0ce1135bbc84364085c05 (patch)
tree3c06720a8df403a500904746906ab4613d50ca9c
parent3e29347d5bc2ad144fb54c5c129f1d8cbcb48b24 (diff)
downloadlua-language-server-92f927854f697d4220e0ce1135bbc84364085c05.zip
更新库
-rw-r--r--server/locale/en-US/libs/lua53/coroutine.lni37
1 files changed, 36 insertions, 1 deletions
diff --git a/server/locale/en-US/libs/lua53/coroutine.lni b/server/locale/en-US/libs/lua53/coroutine.lni
index 80b02908..30be48ba 100644
--- a/server/locale/en-US/libs/lua53/coroutine.lni
+++ b/server/locale/en-US/libs/lua53/coroutine.lni
@@ -1 +1,36 @@
-[coroutine]
+[create]
+description = 'Creates a new coroutine.'
+
+[isyieldable]
+description = 'Returns true when the running coroutine can yield.'
+
+[resume]
+description = 'Starts or continues the execution of coroutine co.'
+
+[running]
+description = 'Returns the running coroutine plus a boolean, true when the running coroutine is the main one.'
+
+[status]
+description = 'Returns the status of coroutine co.'
+[[.enums]]
+name = 'status'
+enum = 'running'
+description = 'Is running.'
+[[.enums]]
+name = 'status'
+enum = 'suspended'
+description = 'Is suspended or not started.'
+[[.enums]]
+name = 'status'
+enum = 'normal'
+description = 'Is active but not running.'
+[[.enums]]
+name = 'status'
+enum = 'dead'
+description = 'Has finished or stopped with an error.'
+
+[wrap]
+description = 'Creates a new coroutine.'
+
+[yield]
+description = 'Suspends the execution of the calling coroutine.'