aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/textformat.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-13 18:18:04 +0800
committerGitHub <noreply@github.com>2023-11-13 18:18:04 +0800
commite9bfbe99cd7154912ef00fb1144411ee5d173b28 (patch)
tree9d799ab5f0b2669d00ae880b8c9afb74cd981898 /src/nvim/textformat.c
parentcbad7f8c21abae1f8aeacee0d171f0eca8790564 (diff)
downloadrneovim-e9bfbe99cd7154912ef00fb1144411ee5d173b28.tar.gz
rneovim-e9bfbe99cd7154912ef00fb1144411ee5d173b28.tar.bz2
rneovim-e9bfbe99cd7154912ef00fb1144411ee5d173b28.zip
fix(textformat): remove unnecessary changed_bytes() (#26027)
This was removed from Vim in patch 8.1.0681.
Diffstat (limited to 'src/nvim/textformat.c')
-rw-r--r--src/nvim/textformat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/textformat.c b/src/nvim/textformat.c
index 96beae0d31..ca57bf3259 100644
--- a/src/nvim/textformat.c
+++ b/src/nvim/textformat.c
@@ -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);
}