mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
Merge pull request #14335 from chentau/extmark_delbytes
Extmarks: manually zero out `curbuf->deleted_bytes2` on substitute and join
This commit is contained in:
@@ -4237,6 +4237,8 @@ skip:
|
||||
}
|
||||
}
|
||||
|
||||
curbuf->deleted_bytes2 = 0;
|
||||
|
||||
if (first_line != 0) {
|
||||
/* Need to subtract the number of added lines from "last_line" to get
|
||||
* the line number before the change (same as adding the number of
|
||||
|
Reference in New Issue
Block a user