0
0
mirror of https://github.com/vim/vim.git synced 2025-10-21 08:24:06 -04:00

runtime(doc): add reference to extendnew() at extend()

related: #16607

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-02-17 21:33:30 +01:00
parent 778ada48fb
commit 5647c91355

View File

@@ -1,4 +1,4 @@
*builtin.txt* For Vim version 9.1. Last change: 2025 Feb 06
*builtin.txt* For Vim version 9.1. Last change: 2025 Feb 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3006,7 +3006,8 @@ extend({expr1}, {expr2} [, {expr3}]) *extend()*
When {expr3} is omitted then "force" is assumed.
{expr1} is changed when {expr2} is not empty. If necessary
make a copy of {expr1} first.
make a copy of {expr1} first or use |extendnew()| to return a
new List/Dictionary.
{expr2} remains unchanged.
When {expr1} is locked and {expr2} is not empty the operation
fails.