diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-09 11:21:52 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-09 11:21:52 +0800 |
commit | 41aec953bfa0f584ceb8de7c2f6203cb2075a215 (patch) | |
tree | 1148d9f97833966f855118f3895aa73f4b11deba /server/locale/zh-CN/libs/lua/package.lni | |
parent | b9ef666714e03e2108f4b1f8c245e721dc4fb2fb (diff) | |
download | lua-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.lni | 3 |
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` 函数的选项。' |