summaryrefslogtreecommitdiff
path: root/server/locale/zh-CN/libs/lua/package.lni
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/zh-CN/libs/lua/package.lni
parentb9ef666714e03e2108f4b1f8c245e721dc4fb2fb (diff)
downloadlua-language-server-41aec953bfa0f584ceb8de7c2f6203cb2075a215.zip
实现 module 与 package.seeall
Diffstat (limited to 'server/locale/zh-CN/libs/lua/package.lni')
-rw-r--r--server/locale/zh-CN/libs/lua/package.lni3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/locale/zh-CN/libs/lua/package.lni b/server/locale/zh-CN/libs/lua/package.lni
index 74dc0239..209a9dc1 100644
--- a/server/locale/zh-CN/libs/lua/package.lni
+++ b/server/locale/zh-CN/libs/lua/package.lni
@@ -24,3 +24,6 @@ description = '用于 `require` 控制如何加载模块的表。'
[searchpath]
description = '在指定 `path` 中搜索指定的 `name` 。'
+
+[seeall]
+description = '给 `module` 设置一个元表,该元表的 `__index` 域为全局环境,这样模块便会继承全局环境的值。可作为 `module` 函数的选项。'