mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 09:48:19 +00:00
lint
This commit is contained in:
@@ -7577,10 +7577,11 @@ static void ex_bang(exarg_T *eap)
|
||||
*/
|
||||
static void ex_undo(exarg_T *eap)
|
||||
{
|
||||
if (eap->addr_count == 1) /* :undo 123 */
|
||||
if (eap->addr_count == 1) { // :undo 123
|
||||
undo_time(eap->line2, false, false, true);
|
||||
else
|
||||
} else {
|
||||
u_undo(1);
|
||||
}
|
||||
}
|
||||
|
||||
static void ex_wundo(exarg_T *eap)
|
||||
@@ -7634,7 +7635,7 @@ static void ex_later(exarg_T *eap)
|
||||
EMSG2(_(e_invarg2), eap->arg);
|
||||
else
|
||||
undo_time(eap->cmdidx == CMD_earlier ? -count : count,
|
||||
sec, file, false);
|
||||
sec, file, false);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user