mirror of
https://github.com/tpope/vim-unimpaired.git
synced 2026-05-28 00:20:43 +02:00
db65482581
The bug/error was from attempting to use setreg() on a read-only
register. The fix is to use the unnamed (") register as a placeholder
when a read-only register is detected, and then restore the unnamed
register afterwards.