diff options
author | Luuk van Baal <luukvbaal@gmail.com> | 2024-06-30 02:23:09 +0200 |
---|---|---|
committer | Luuk van Baal <luukvbaal@gmail.com> | 2024-07-20 14:52:39 +0200 |
commit | 012db2b0f5099909a62c56651acb4dcf62328fc9 (patch) | |
tree | ebe7d9d7760fbabf59bc3c576c2688949e935903 /test/functional/api/vim_spec.lua | |
parent | 5fc25ecc7a383a4bed2199774ed2e26022456ca3 (diff) | |
download | rneovim-012db2b0f5099909a62c56651acb4dcf62328fc9.tar.gz rneovim-012db2b0f5099909a62c56651acb4dcf62328fc9.tar.bz2 rneovim-012db2b0f5099909a62c56651acb4dcf62328fc9.zip |
fix(marks): revalidate marks whose position did not change
Problem: Marks whose position did not change with the action that
invalidated them (right_gravity = false) are not revalidated
upon undo.
Solution: Remove early return when restoring a marks saved position so
that it is still revalidated. Add "move" guards instead.
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions