summaryrefslogtreecommitdiff
path: root/server/locale/zh-CN/libs/@lua/table.lni
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-09 14:04:36 +0800
committersumneko <sumneko@hotmail.com>2019-04-09 14:04:36 +0800
commit264e332acd1dbfb91c3f6633f6b48f3e4119f832 (patch)
tree7a5f78d6ed49f07cf1932550964532cccfc3f0ad /server/locale/zh-CN/libs/@lua/table.lni
parent96647a35c6977909df5d6c5f7e77d0a4a2dbe2c0 (diff)
downloadlua-language-server-264e332acd1dbfb91c3f6633f6b48f3e4119f832.zip
不要加载自定义库中的全局变量
Diffstat (limited to 'server/locale/zh-CN/libs/@lua/table.lni')
-rw-r--r--server/locale/zh-CN/libs/@lua/table.lni39
1 files changed, 39 insertions, 0 deletions
diff --git a/server/locale/zh-CN/libs/@lua/table.lni b/server/locale/zh-CN/libs/@lua/table.lni
new file mode 100644
index 00000000..9163d8e5
--- /dev/null
+++ b/server/locale/zh-CN/libs/@lua/table.lni
@@ -0,0 +1,39 @@
+[concat]
+description = [[
+--------
+```lua
+return list[i]..sep..list[i+1] ··· sep..list[j]
+```
+]]
+
+[insert]
+description = '在 `list` 的位置 `pos` 处插入元素 `value`。'
+
+[maxn]
+description = '返回给定表的最大正数索引,如果表没有正数索引,则返回零。'
+
+[move]
+description = [[
+将元素从表 `a1` 移到表 `a2`。
+```lua
+a2[t],··· = a1[f],···,a1[e]
+return a2
+```
+]]
+
+[pack]
+description = '返回用所有参数以键 `1`,`2`, 等填充的新表, 并将 `"n"` 这个域设为参数的总数。'
+
+[remove]
+description = '移除 `list` 中 `pos` 位置上的元素,并返回这个被移除的值。'
+
+[sort]
+description = '在表内从 `list[1]` 到 `list[#list]` *原地* 对其间元素按指定次序排序。'
+
+[unpack]
+description = [[
+-------
+```lua
+return list[i], list[i+1], ···, list[j]
+```
+]]