aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/buffer_updates_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-03-12 06:56:06 +0800
committerGitHub <noreply@github.com>2024-03-12 06:56:06 +0800
commitcf156377e80232aa904b92e4af29dd6c61952401 (patch)
tree9306bcb4f8e168cea5201fe1d65c88f00b848764 /test/functional/lua/buffer_updates_spec.lua
parent9cc755ad6a60e2b028d61c1dca62f8fe20f652d7 (diff)
downloadrneovim-cf156377e80232aa904b92e4af29dd6c61952401.tar.gz
rneovim-cf156377e80232aa904b92e4af29dd6c61952401.tar.bz2
rneovim-cf156377e80232aa904b92e4af29dd6c61952401.zip
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) https://github.com/vim/vim/commit/d0b1a09f44654bb5e29b09de1311845200f17d90 Co-authored-by: LemonBoy <thatlemon@gmail.com>
Diffstat (limited to 'test/functional/lua/buffer_updates_spec.lua')
-rw-r--r--test/functional/lua/buffer_updates_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/buffer_updates_spec.lua b/test/functional/lua/buffer_updates_spec.lua
index 1f9f61ebf7..2479a433e6 100644
--- a/test/functional/lua/buffer_updates_spec.lua
+++ b/test/functional/lua/buffer_updates_spec.lua
@@ -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>'