summaryrefslogtreecommitdiff
path: root/server/locale/en-US/libs
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-09 11:21:52 +0800
committersumneko <sumneko@hotmail.com>2019-04-09 11:21:52 +0800
commit41aec953bfa0f584ceb8de7c2f6203cb2075a215 (patch)
tree1148d9f97833966f855118f3895aa73f4b11deba /server/locale/en-US/libs
parentb9ef666714e03e2108f4b1f8c245e721dc4fb2fb (diff)
downloadlua-language-server-41aec953bfa0f584ceb8de7c2f6203cb2075a215.zip
实现 module 与 package.seeall
Diffstat (limited to 'server/locale/en-US/libs')
-rw-r--r--server/locale/en-US/libs/lua/coroutine.lni3
-rw-r--r--server/locale/en-US/libs/lua/package.lni3
2 files changed, 4 insertions, 2 deletions
diff --git a/server/locale/en-US/libs/lua/coroutine.lni b/server/locale/en-US/libs/lua/coroutine.lni
index ec06f21d..3859ad4e 100644
--- a/server/locale/en-US/libs/lua/coroutine.lni
+++ b/server/locale/en-US/libs/lua/coroutine.lni
@@ -5,8 +5,7 @@ description = 'Creates a new coroutine.'
description = 'Returns true when the running coroutine can yield.'
[kill]
-description = 'Kills coroutine `co` ,
-closing all its pending to-be-closed variables and putting the coroutine in a dead state.'
+description = 'Kills 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/en-US/libs/lua/package.lni b/server/locale/en-US/libs/lua/package.lni
index b0a861a9..3b482ae9 100644
--- a/server/locale/en-US/libs/lua/package.lni
+++ b/server/locale/en-US/libs/lua/package.lni
@@ -24,3 +24,6 @@ description = 'A table used by `require` to control how to load modules.'
[searchpath]
description = 'Searches for the given `name` in the given `path`.'
+
+[seeall]
+describing = 'Sets a metatable for `module` with its `__index` field referring to the global environment, so that this module inherits values from the global environment. To be used as an option to function `module` .