Fix byte updates for blockwise paste at buffer end

This commit is contained in:
KillTheMule
2020-09-30 21:28:21 +02:00
parent c1a740ae33
commit 02dcc3c11a
2 changed files with 7 additions and 3 deletions

View File

@@ -486,8 +486,8 @@ describe('lua: nvim_buf_attach on_bytes', function()
feed('p')
check_events {
{ "test1", "bytes", 1, 3, 2, 1, 5, 0, 0, 0, 0, 1, 1 };
{ "test1", "bytes", 1, 3, 3, 0, 7, 0, 0, 0, 0, 2, 2 };
{ "test1", "bytes", 1, 3, 4, 0, 10, 0, 0, 0, 0, 2, 2 };
{ "test1", "bytes", 1, 3, 3, 0, 7, 0, 0, 0, 0, 3, 3 };
{ "test1", "bytes", 1, 3, 4, 0, 10, 0, 0, 0, 0, 3, 3 };
}
feed('2G0')