aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.lua
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2021-05-18 22:53:53 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2021-09-23 02:04:11 +0100
commitf9779facca2cb9c8115aa1cbdd2fb71d105b8ebf (patch)
tree8c8a1d9bcbb2069e090b01e7b9bdc207895793f0 /src/nvim/eval.lua
parent74ddd14241af45b4b07028006db9099780b9fe6c (diff)
downloadrneovim-f9779facca2cb9c8115aa1cbdd2fb71d105b8ebf.tar.gz
rneovim-f9779facca2cb9c8115aa1cbdd2fb71d105b8ebf.tar.bz2
rneovim-f9779facca2cb9c8115aa1cbdd2fb71d105b8ebf.zip
vim-patch:8.2.0924: cannot save and restore a register properly
Problem: Cannot save and restore a register properly. Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy Massimino, closes vim/vim#3370) https://github.com/vim/vim/commit/bb861e293e0170455184079fa537278754b07911 Cherry-pick eval.txt changes for getreginfo() from: https://github.com/vim/vim/commit/6aa57295cfbe8f21c15f0671e45fd53cf990d404 https://github.com/vim/vim/commit/207f009326c8f878defde0e594d7d9ed9860106e
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 c0a18b3236..762d741fb7 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -166,6 +166,7 @@ return {
getpos={args=1},
getqflist={args={0, 1}},
getreg={args={0, 3}},
+ getreginfo={args={0, 1}, base=1},
getregtype={args={0, 1}},
gettabinfo={args={0, 1}},
gettabvar={args={2, 3}},