mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
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:
3
runtime/doc/builtin.txt
generated
3
runtime/doc/builtin.txt
generated
@@ -2167,7 +2167,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.
|
||||
|
3
runtime/lua/vim/_meta/vimfn.lua
generated
3
runtime/lua/vim/_meta/vimfn.lua
generated
@@ -1928,7 +1928,8 @@ function vim.fn.expandcmd(string, options) end
|
||||
--- 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.
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user