diff options
| author | Barrett Ruth <62671086+barrettruth@users.noreply.github.com> | 2026-07-06 08:36:02 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-06 09:36:02 -0400 |
| commit | af9f24b80b092c24df0c469311a2c4b756d492d5 (patch) | |
| tree | b2df38f947d6e9f9002bc231c14be3648bd5c99c /test/functional/vimscript/executable_spec.lua | |
| parent | 732bf4db97d83d2874888cd6c1dacc7e9b422b81 (diff) | |
| download | rneovim-af9f24b80b092c24df0c469311a2c4b756d492d5.tar.gz rneovim-af9f24b80b092c24df0c469311a2c4b756d492d5.tar.bz2 rneovim-af9f24b80b092c24df0c469311a2c4b756d492d5.zip | |
fix(shada): persist cleared search patterns #40600
Problem:
`:let @/ = ""` doesn't stick after restart (the old search pattern comes back).
Solution:
When the current session cleared the pattern more-recently than stored
shada entry, drop the shada entry instead of restoring it.
Note: similar timestamp-based suppression was used for deleted
marks: ee56daebb6468075e743db0d605cb3f2a1699419
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions