aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/undo.c
diff options
context:
space:
mode:
authorKillTheMule <KillTheMule@users.noreply.github.com>2018-05-18 10:09:11 +0200
committerKillTheMule <KillTheMule@users.noreply.github.com>2018-05-23 22:07:27 +0200
commit65e7f6f0b97b02e323488e06bf0f5df93bbcbf93 (patch)
treec4dd56622987e2605f14667ba6391124636d7266 /src/nvim/undo.c
parent0bee3925ab5186211f10c823d4f149d4d16eb7a5 (diff)
downloadrneovim-65e7f6f0b97b02e323488e06bf0f5df93bbcbf93.tar.gz
rneovim-65e7f6f0b97b02e323488e06bf0f5df93bbcbf93.tar.bz2
rneovim-65e7f6f0b97b02e323488e06bf0f5df93bbcbf93.zip
Rename some more, fixe borked renaming
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r--src/nvim/undo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c
index 985c6873a4..44bcefb332 100644
--- a/src/nvim/undo.c
+++ b/src/nvim/undo.c
@@ -1698,8 +1698,8 @@ bool u_undo_and_forget(int count)
count = 1;
}
undo_undoes = true;
- // don't send a nvim_buf_update for this undo is part of 'inccommand' playing
- // with buffer contents
+ // don't send a nvim_buf_lines_event for this undo is part of 'inccommand'
+ // playing with buffer contents
u_doit(count, true, false);
if (curbuf->b_u_curhead == NULL) {
@@ -2284,7 +2284,7 @@ static void u_undoredo(int undo, bool do_buf_event)
}
// because the calls to changed()/unchanged() above will bump b_changedtick
- // again, we need to send a nvim_buf_update with just the new value of
+ // again, we need to send a nvim_buf_lines_event with just the new value of
// b:changedtick
if (do_buf_event && kv_size(curbuf->update_channels)) {
buf_updates_changedtick(curbuf);