aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lua.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-11-25 01:08:02 -0800
committerGitHub <noreply@github.com>2019-11-25 01:08:02 -0800
commitfd5710ae9a3bcbc0f9cbb71de9e39253350ff09c (patch)
treee4b2b481998ce60f33d60eb4f6bcb59f092ba8d2 /runtime/doc/lua.txt
parent967f229f32a3093613feaf99969e44333efd8a0a (diff)
downloadrneovim-fd5710ae9a3bcbc0f9cbb71de9e39253350ff09c.tar.gz
rneovim-fd5710ae9a3bcbc0f9cbb71de9e39253350ff09c.tar.bz2
rneovim-fd5710ae9a3bcbc0f9cbb71de9e39253350ff09c.zip
doc + extmarks tweaks #11421
- nvim_buf_get_extmarks: rename "amount" => "limit" - rename `set_extmark_index_from_obj`
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r--runtime/doc/lua.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index edcf246295..c0da06ffe3 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -876,16 +876,23 @@ tbl_add_reverse_lookup({o}) *vim.tbl_add_reverse_lookup()*
Parameters: ~
{o} table The table to add the reverse to.
-list_extend({dst}, {src}) *vim.list_extend()*
+list_extend({dst}, {src}, {start}, {finish}) *vim.list_extend()*
Extends a list-like table with the values of another list-like
table.
+ NOTE: This mutates dst!
+
Parameters: ~
- {dst} The list which will be modified and appended to.
- {src} The list from which values will be inserted.
+ {dst} list which will be modified and appended to.
+ {src} list from which values will be inserted.
+ {start} Start index on src. defaults to 1
+ {finish} Final index on src. defaults to #src
+
+ Return: ~
+ dst
See also: ~
- |extend()|
+ |vim.tbl_extend()|
tbl_flatten({t}) *vim.tbl_flatten()*
Creates a copy of a list-like table such that any nested