diff options
| author | Barrett Ruth <62671086+barrettruth@users.noreply.github.com> | 2026-07-06 08:40:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-06 09:40:17 -0400 |
| commit | aff618536bb6a8a149f11ced73dd07e34dea19db (patch) | |
| tree | e07913652fd933aae6f7b8e12e7a8dff7190dcf3 /test/functional/vimscript/executable_spec.lua | |
| parent | af9f24b80b092c24df0c469311a2c4b756d492d5 (diff) | |
| download | rneovim-aff618536bb6a8a149f11ced73dd07e34dea19db.tar.gz rneovim-aff618536bb6a8a149f11ced73dd07e34dea19db.tar.bz2 rneovim-aff618536bb6a8a149f11ced73dd07e34dea19db.zip | |
fix(shada): persist cleared registers #40601
Problem:
Clearing a register via `:let @a = ""` doesn't persist in shada.
Solution:
Follows the precedent of ee56daebb6468075e743db0d605cb3f2a1699419 .
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.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions