diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index f4d570f1a8..ac5de0733b 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -974,7 +974,7 @@ static char_u *get_loop_line(int c, void *cookie, int indent) } KeyTyped = false; - ++cp->current_line; + cp->current_line++; wp = (wcmd_T *)(cp->lines_gap->ga_data) + cp->current_line; sourcing_lnum = wp->lnum; return vim_strsave(wp->line); diff --git a/src/nvim/tag.c b/src/nvim/tag.c index 7185b548c0..50397d40e6 100644 --- a/src/nvim/tag.c +++ b/src/nvim/tag.c @@ -266,7 +266,7 @@ do_tag ( goto end_do_tag; } - if (type == DT_POP) { /* go to older position */ + if (type == DT_POP) { // go to older position const bool old_KeyTyped = KeyTyped; if ((tagstackidx -= count) < 0) { EMSG(_(bottommsg));