mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
inccommand: preserve extmarks when undoing preview substitution
This commit is contained in:
@@ -504,11 +504,13 @@ describe('lua: nvim_buf_attach on_bytes', function()
|
||||
feed ':%s/bcd/'
|
||||
check_events {
|
||||
{ "test1", "bytes", 1, 3, 0, 1, 1, 0, 3, 3, 0, 0, 0 };
|
||||
{ "test1", "bytes", 1, 5, 0, 1, 1, 0, 0, 0, 0, 3, 3 };
|
||||
}
|
||||
|
||||
feed 'a'
|
||||
check_events {
|
||||
{ "test1", "bytes", 1, 3, 0, 1, 1, 0, 3, 3, 0, 1, 1 };
|
||||
{ "test1", "bytes", 1, 5, 0, 1, 1, 0, 1, 1, 0, 3, 3 };
|
||||
}
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user