aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-14 01:02:34 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-09-14 01:02:34 -0400
commita6d4a2fb8d319b2639b38039f56f44728f4f8bc2 (patch)
tree11252cdc90b4cd945fdb9d4a890c3fe22e8f181d
parentdb90c0c9bf917c6b04a332b4ca500c410b5014ce (diff)
downloadrneovim-a6d4a2fb8d319b2639b38039f56f44728f4f8bc2.tar.gz
rneovim-a6d4a2fb8d319b2639b38039f56f44728f4f8bc2.tar.bz2
rneovim-a6d4a2fb8d319b2639b38039f56f44728f4f8bc2.zip
lint
-rw-r--r--src/nvim/ex_docmd.c2
-rw-r--r--src/nvim/tag.c2
2 files changed, 2 insertions, 2 deletions
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));