mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
Manually zero out deleted_bytes2 when substituting and joining lines
This commit is contained in:
@@ -4230,6 +4230,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