mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
Rename some more, fixe borked renaming
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user