Rename some more, fixe borked renaming

This commit is contained in:
KillTheMule
2018-05-18 10:09:11 +02:00
parent 0bee3925ab
commit 65e7f6f0b9
8 changed files with 44 additions and 38 deletions

View File

@@ -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);