Merge pull request #14335 from chentau/extmark_delbytes

Extmarks: manually zero out `curbuf->deleted_bytes2` on substitute and join
This commit is contained in:
Björn Linse
2021-06-29 15:31:23 +02:00
committed by GitHub
3 changed files with 36 additions and 0 deletions

View File

@@ -3992,6 +3992,7 @@ int do_join(size_t count,
del_lines((long)count - 1, false);
curwin->w_cursor.lnum = t;
curbuf_splice_pending--;
curbuf->deleted_bytes2 = 0;
/*
* Set the cursor column: