mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 11:18:19 +00:00
lua: add {old_byte_size} to on_lines buffer change event
This commit is contained in:
@@ -1755,6 +1755,7 @@ failed:
|
||||
ml_delete(curbuf->b_ml.ml_line_count, false);
|
||||
linecnt--;
|
||||
}
|
||||
curbuf->deleted_bytes = 0;
|
||||
linecnt = curbuf->b_ml.ml_line_count - linecnt;
|
||||
if (filesize == 0)
|
||||
linecnt = 0;
|
||||
|
Reference in New Issue
Block a user