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 #3370)
This commit is contained in:
Bram Moolenaar
2020-06-07 18:16:36 +02:00
parent c82dd86084
commit bb861e293e
8 changed files with 241 additions and 9 deletions

View File

@ -1155,6 +1155,7 @@ Various: *various-functions*
undotree() return the state of the undo tree
getreg() get contents of a register
getreginfo() get information about a register
getregtype() get type of a register
setreg() set contents and type of a register
reg_executing() return the name of the register being executed