mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
fix(buf_updates): send updates when putting past last line
Fixes #13710
This commit is contained in:
committed by
Björn Linse
parent
b2b47e4618
commit
3094bb4e38
@@ -507,6 +507,20 @@ describe('lua: nvim_buf_attach on_bytes', function()
|
||||
|
||||
end)
|
||||
|
||||
it("linewise paste", function()
|
||||
local check_events = setup_eventcheck(verify, origlines)
|
||||
|
||||
feed'yyp'
|
||||
check_events {
|
||||
{ "test1", "bytes", 1, 3, 1, 0, 16, 0, 0, 0, 1, 0, 16 };
|
||||
}
|
||||
|
||||
feed'Gyyp'
|
||||
check_events {
|
||||
{ "test1", "bytes", 1, 4, 8, 0, 130, 0, 0, 0, 1, 0, 18 };
|
||||
}
|
||||
end)
|
||||
|
||||
it('inccomand=nosplit and substitute', function()
|
||||
if verify then pending("Verification can't be done when previewing") end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user