vim-patch:5647c91: runtime(doc): add reference to extendnew() at extend() (#32500)

related: vim/vim#16607

5647c91355

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2025-02-18 06:59:34 +08:00
committed by GitHub
parent 639734bed4
commit 4a2a54f993
3 changed files with 6 additions and 3 deletions

View File

@ -2481,7 +2481,8 @@ M.funcs = {
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.