diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2024-04-21 18:04:21 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-21 18:04:21 -0700 |
| commit | 2088521263d3bf9cfd23729adb1a7d152eaab104 (patch) | |
| tree | 6c153f0c1d1ff1ebc36a466e904c933ccee18b28 /runtime/doc | |
| parent | 35e38833c54565b05a0c33ba44694fc1077dce97 (diff) | |
| parent | f112ac73bd340707173db4d28660e76aa96b36de (diff) | |
| download | rneovim-2088521263d3bf9cfd23729adb1a7d152eaab104.tar.gz rneovim-2088521263d3bf9cfd23729adb1a7d152eaab104.tar.bz2 rneovim-2088521263d3bf9cfd23729adb1a7d152eaab104.zip | |
Merge #28450 deprecate tbl_flatten
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/lua.txt | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index de1e432790..eaf61ff3fe 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -2285,20 +2285,6 @@ vim.tbl_filter({func}, {t}) *vim.tbl_filter()* Return: ~ (`any[]`) Table of filtered values -vim.tbl_flatten({t}) *vim.tbl_flatten()* - Creates a copy of a list-like table such that any nested tables are - "unrolled" and appended to the result. - - Parameters: ~ - • {t} (`table`) List-like table - - Return: ~ - (`table`) Flattened copy of the given list-like table - - See also: ~ - • From - https://github.com/premake/premake-core/blob/master/src/base/table.lua - vim.tbl_get({o}, {...}) *vim.tbl_get()* Index into a table (first argument) via string keys passed as subsequent arguments. Return `nil` if the key does not exist. |