aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-02-18 06:59:34 +0800
committerGitHub <noreply@github.com>2025-02-17 22:59:34 +0000
commit4a2a54f993e8e3c2b4dfd687386847207033b631 (patch)
treeef54bc14da727dee3de4ae4d7d6d93ca958ee597 /src/nvim/eval.lua
parent639734bed4efc9b17082886512442f1e89408a73 (diff)
downloadrneovim-4a2a54f993e8e3c2b4dfd687386847207033b631.tar.gz
rneovim-4a2a54f993e8e3c2b4dfd687386847207033b631.tar.bz2
rneovim-4a2a54f993e8e3c2b4dfd687386847207033b631.zip
vim-patch:5647c91: runtime(doc): add reference to extendnew() at extend() (#32500)
related: vim/vim#16607 https://github.com/vim/vim/commit/5647c91355f1ff3a1030c737bf5133bb7da5bb76 Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r--src/nvim/eval.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index e454987e2b..1bb2bea502 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -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.