aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-02-27 10:10:42 +0800
committerGitHub <noreply@github.com>2023-02-27 10:10:42 +0800
commit2c9fbe34b20266ef5ab54f6ed14fb38eef60430d (patch)
tree904fd34f9cc1e7846192c8f458b21b23ce40996b /src/nvim/eval.lua
parentd52a3f7c715cf4e3f2996dc16b405e1a63b7301d (diff)
downloadrneovim-2c9fbe34b20266ef5ab54f6ed14fb38eef60430d.tar.gz
rneovim-2c9fbe34b20266ef5ab54f6ed14fb38eef60430d.tar.bz2
rneovim-2c9fbe34b20266ef5ab54f6ed14fb38eef60430d.zip
vim-patch:8.2.2336: Vim9: not possible to extend dictionary with different type (#22425)
Problem: Vim9: it is not possible to extend a dictionary with different item types. Solution: Add extendnew(). (closes vim/vim#7666) https://github.com/vim/vim/commit/b0e6b513648db7035046613431a4aa9d71ef4653 Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r--src/nvim/eval.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index 0c6912a702..a476e20339 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -120,6 +120,7 @@ return {
expand={args={1, 3}, base=1},
expandcmd={args={1, 2}, base=1},
extend={args={2, 3}, base=1},
+ extendnew={args={2, 3}, base=1},
feedkeys={args={1, 2}, base=1},
file_readable={args=1, base=1, func='f_filereadable'}, -- obsolete
filereadable={args=1, base=1, fast=true},