From 65e7f6f0b97b02e323488e06bf0f5df93bbcbf93 Mon Sep 17 00:00:00 2001 From: KillTheMule Date: Fri, 18 May 2018 10:09:11 +0200 Subject: Rename some more, fixe borked renaming --- src/nvim/undo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/nvim/undo.c') 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); -- cgit