mirror of
https://github.com/neovim/neovim.git
synced 2026-03-21 16:09:42 +00:00
vim-patch:8.2.4944: text properties are wrong after "cc" (#27821)
Problem: Text properties are wrong after "cc". (Axel Forsman)
Solution: Pass the deleted byte count to inserted_bytes(). (closes vim/vim#10412,
closes vim/vim#7737, closes vim/vim#5763)
d0b1a09f44
Co-authored-by: LemonBoy <thatlemon@gmail.com>
This commit is contained in:
@@ -541,7 +541,7 @@ describe('lua: nvim_buf_attach on_bytes', function()
|
||||
|
||||
feed 'cc'
|
||||
check_events {
|
||||
{ 'test1', 'bytes', 1, 4, 0, 0, 0, 0, 15, 15, 0, 0, 0 },
|
||||
{ 'test1', 'bytes', 1, 3, 0, 0, 0, 0, 15, 15, 0, 0, 0 },
|
||||
}
|
||||
|
||||
feed '<ESC>'
|
||||
|
||||
Reference in New Issue
Block a user