diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-17 22:29:26 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-17 22:29:26 +0800 |
commit | a4bd73ebf18effeddb5a720a20cb81ec446d8cf0 (patch) | |
tree | 62a862669ac7a656cd3f843665dc894304e45e85 /server/locale/en-US/libs | |
parent | 77261546c3e40a9f5fca1d31d84a263d743e0b7b (diff) | |
download | lua-language-server-a4bd73ebf18effeddb5a720a20cb81ec446d8cf0.zip |
更新库
Diffstat (limited to 'server/locale/en-US/libs')
-rw-r--r-- | server/locale/en-US/libs/lua53/table.lni | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/server/locale/en-US/libs/lua53/table.lni b/server/locale/en-US/libs/lua53/table.lni index f1098fda..234be1ae 100644 --- a/server/locale/en-US/libs/lua53/table.lni +++ b/server/locale/en-US/libs/lua53/table.lni @@ -1 +1,36 @@ -[table] +[concat] +description = [[ +-------- +```lua +return list[i]..sep..list[i+1] ··· sep..list[j] +``` +]] + +[insert] +description = 'Inserts element value at position `pos` in list.' + +[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] +``` +]] |