summaryrefslogtreecommitdiff
path: root/server/locale/en-US
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-17 22:05:28 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-17 22:05:28 +0800
commit01e580af6a0d1a3a50b98af87bff55229df5ebee (patch)
tree0a09c34b3f4f7ab7a254de4d7a77775cfd368b52 /server/locale/en-US
parentb33e7690c9d09a96e2a2eb10f1856edbd8953603 (diff)
downloadlua-language-server-01e580af6a0d1a3a50b98af87bff55229df5ebee.zip
更新库
Diffstat (limited to 'server/locale/en-US')
-rw-r--r--server/locale/en-US/libs/lua53/modules.lni6
-rw-r--r--server/locale/en-US/libs/lua53/package.lni23
2 files changed, 23 insertions, 6 deletions
diff --git a/server/locale/en-US/libs/lua53/modules.lni b/server/locale/en-US/libs/lua53/modules.lni
deleted file mode 100644
index 2f36cc10..00000000
--- a/server/locale/en-US/libs/lua53/modules.lni
+++ /dev/null
@@ -1,6 +0,0 @@
-[require]
-description = [[
-Loads the given module. The function starts by looking into the package.loaded table to determine whether modname is already loaded. If it is, then require returns the value stored at package.loaded[modname]. Otherwise, it tries to find a loader for the module.
-]]
-
-[package]
diff --git a/server/locale/en-US/libs/lua53/package.lni b/server/locale/en-US/libs/lua53/package.lni
new file mode 100644
index 00000000..04a47011
--- /dev/null
+++ b/server/locale/en-US/libs/lua53/package.lni
@@ -0,0 +1,23 @@
+[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.'
+
+[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`.'