summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-06-06 13:00:20 +0800
committersumneko <sumneko@hotmail.com>2019-06-06 13:00:20 +0800
commit3f139d12e8f66b30b6f4b9a47501b10cb111830d (patch)
treea36f7157999f34ae8e644f47f35e54cce074c12b /server
parent682f29be361e14af111232288dba87a7003dd959 (diff)
downloadlua-language-server-3f139d12e8f66b30b6f4b9a47501b10cb111830d.zip
叒改名了
Diffstat (limited to 'server')
-rw-r--r--server/libs/@lua/coroutine.lni2
-rw-r--r--server/locale/en-US/libs/@lua/coroutine.lni4
-rw-r--r--server/locale/zh-CN/libs/@lua/coroutine.lni4
3 files changed, 5 insertions, 5 deletions
diff --git a/server/libs/@lua/coroutine.lni b/server/libs/@lua/coroutine.lni
index c0c69a2c..05db9038 100644
--- a/server/libs/@lua/coroutine.lni
+++ b/server/libs/@lua/coroutine.lni
@@ -41,7 +41,7 @@ optional = after
[[.returns]]
type = boolean
-[kill]
+[close]
version = 'Lua 5.4'
[[.args]]
name = 'co'
diff --git a/server/locale/en-US/libs/@lua/coroutine.lni b/server/locale/en-US/libs/@lua/coroutine.lni
index e5245206..910638ec 100644
--- a/server/locale/en-US/libs/@lua/coroutine.lni
+++ b/server/locale/en-US/libs/@lua/coroutine.lni
@@ -7,8 +7,8 @@ description = 'Returns true when the running coroutine can yield.'
['isyieldable Lua 5.4']
description = 'Returns true when the coroutine `co` can yield. The default for `co` is the running coroutine.'
-[kill]
-description = 'Kills coroutine `co` , closing all its pending to-be-closed variables and putting the coroutine in a dead state.'
+[close]
+description = 'Closes coroutine `co` , closing all its pending to-be-closed variables and putting the coroutine in a dead state.'
[resume]
description = 'Starts or continues the execution of coroutine `co`.'
diff --git a/server/locale/zh-CN/libs/@lua/coroutine.lni b/server/locale/zh-CN/libs/@lua/coroutine.lni
index 9f69018c..42f1cb8f 100644
--- a/server/locale/zh-CN/libs/@lua/coroutine.lni
+++ b/server/locale/zh-CN/libs/@lua/coroutine.lni
@@ -7,8 +7,8 @@ description = '如果正在运行的协程可以让出,则返回真。'
['isyieldable Lua 5.4']
description = '如果协程 `co` 可以让出,则返回真。`co` 默认为正在运行的协程。'
-[kill]
-description = '杀死协程 `co`,关闭它所有等待 *to-be-closed* 的变量,并将协程状态设为 `dead` 。'
+[close]
+description = '关闭协程 `co`,并关闭它所有等待 *to-be-closed* 的变量,并将协程状态设为 `dead` 。'
[resume]
description = '开始或继续协程 `co` 的运行。'