mirror of
https://github.com/tpope/vim-unimpaired.git
synced 2025-12-13 20:35:47 +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.