diff options
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r-- | src/nvim/undo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 2f4317980a..d6428d63f7 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -1685,7 +1685,8 @@ void u_redo(int count) u_doit(count, false); } -/// undo, and remove the undo branch from the undo tree. +/// Undo and remove the branch from the undo tree. +/// Also moves the cursor (as a "normal" undo would). bool u_undo_and_forget(int count) { if (curbuf->b_u_synced == false) { |