diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-09 14:04:36 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-09 14:04:36 +0800 |
commit | 264e332acd1dbfb91c3f6633f6b48f3e4119f832 (patch) | |
tree | 7a5f78d6ed49f07cf1932550964532cccfc3f0ad /server/locale/en-US/libs/@lua/package.lni | |
parent | 96647a35c6977909df5d6c5f7e77d0a4a2dbe2c0 (diff) | |
download | lua-language-server-264e332acd1dbfb91c3f6633f6b48f3e4119f832.zip |
不要加载自定义库中的全局变量
Diffstat (limited to 'server/locale/en-US/libs/@lua/package.lni')
-rw-r--r-- | server/locale/en-US/libs/@lua/package.lni | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/server/locale/en-US/libs/@lua/package.lni b/server/locale/en-US/libs/@lua/package.lni new file mode 100644 index 00000000..3b482ae9 --- /dev/null +++ b/server/locale/en-US/libs/@lua/package.lni @@ -0,0 +1,29 @@ +[config] +description = 'A string describing some compile-time configurations for packages.' + +[cpath] +description = 'The path used by `require` to search for a C loader.' + +[loaded] +description = 'A table used by `require` to control which modules are already loaded.' + +[loaders] +description = 'A table used by `require` to control how to load modules.' + +[loadlib] +description = 'Dynamically links the host program with the C library `libname`.' + +[path] +description = 'The path used by `require` to search for a Lua loader.' + +[preload] +description = 'A table to store loaders for specific modules.' + +[searchers] +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` . |