diff options
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r-- | src/nvim/undo.c | 6 |
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); |