mirror of
https://github.com/neovim/neovim.git
synced 2026-08-01 13:19:20 +00:00
Problem: Clearing a register via `:let @a = ""` doesn't persist in shada. Solution: Follows the precedent ofee56daebb6. Namely, when the live register is empty and *at least as recent* as the copy that is on disk, drop it instead of writing it back. (cherry picked from commitaff618536b) Co-authored-by: Barrett Ruth <62671086+barrettruth@users.noreply.github.com>