fix(textformat): remove unnecessary changed_bytes() (#26027)

This was removed from Vim in patch 8.1.0681.
This commit is contained in:
zeertzjq
2023-11-13 18:18:04 +08:00
committed by GitHub
parent cbad7f8c21
commit e9bfbe99cd
4 changed files with 6 additions and 5 deletions

View File

@@ -420,7 +420,6 @@ void internal_format(int textwidth, int second_indent, int flags, bool format_on
for (int i = 0; i < padding; i++) {
ins_str(" ");
}
changed_bytes(curwin->w_cursor.lnum, leader_len);
} else {
(void)set_indent(second_indent, SIN_CHANGED);
}