summaryrefslogtreecommitdiff
path: root/server/locale/en-US/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/en-US/libs/@lua/table.lni
parent96647a35c6977909df5d6c5f7e77d0a4a2dbe2c0 (diff)
downloadlua-language-server-264e332acd1dbfb91c3f6633f6b48f3e4119f832.zip
不要加载自定义库中的全局变量
Diffstat (limited to 'server/locale/en-US/libs/@lua/table.lni')
-rw-r--r--server/locale/en-US/libs/@lua/table.lni39
1 files changed, 39 insertions, 0 deletions
diff --git a/server/locale/en-US/libs/@lua/table.lni b/server/locale/en-US/libs/@lua/table.lni
new file mode 100644
index 00000000..d32ea4ae
--- /dev/null
+++ b/server/locale/en-US/libs/@lua/table.lni
@@ -0,0 +1,39 @@
+[concat]
+description = [[
+--------
+```lua
+return list[i]..sep..list[i+1] ··· sep..list[j]
+```
+]]
+
+[insert]
+description = 'Inserts element `value` at position `pos` in `list`.'
+
+[maxn]
+description = 'Returns the largest positive numerical index of the given table, or zero if the table has no positive numerical indices.'
+
+[move]
+description = [[
+Moves elements from table `a1` to table `a2`.
+```lua
+a2[t],··· = a1[f],···,a1[e]
+return a2
+```
+]]
+
+[pack]
+description = 'Returns a new table with all arguments stored into keys `1`, `2`, etc. and with a field `"n"` with the total number of arguments.'
+
+[remove]
+description = 'Removes from `list` the element at position `pos`, returning the value of the removed element.'
+
+[sort]
+description = 'Sorts list elements in a given order, *in-place*, from `list[1]` to `list[#list]`.'
+
+[unpack]
+description = [[
+-------
+```lua
+return list[i], list[i+1], ···, list[j]
+```
+]]