mirror of
https://github.com/tpope/vim-unimpaired.git
synced 2026-02-23 11:53:14 +01:00
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.