aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/undo.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/undo.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/undo.c')
-rw-r--r--src/nvim/undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c
index 31a50c0b98..99ea5d238c 100644
--- a/src/nvim/undo.c
+++ b/src/nvim/undo.c
@@ -2981,7 +2981,7 @@ void u_clearall(buf_T *buf)
buf->b_u_line_lnum = 0;
}
-/// save the line "lnum" for the "U" command
+/// Save the line "lnum" for the "U" command.
void u_saveline(buf_T *buf, linenr_T lnum)
{
if (lnum == buf->b_u_line_lnum) { // line is already saved