aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-13 18:51:13 -0700
committerJustin M. Keyes <justinkz@gmail.com>2019-09-13 19:29:25 -0700
commit6aae0e7c943267d2109ae20ec5086791c3b94a5e (patch)
treeb0a8ec8985c5bdfb1882ee847ff64b42c98d3e0a /src/nvim/syntax.c
parent3344cffe7bf77c984550c01f9405f4d757150d8a (diff)
downloadrneovim-6aae0e7c943267d2109ae20ec5086791c3b94a5e.tar.gz
rneovim-6aae0e7c943267d2109ae20ec5086791c3b94a5e.tar.bz2
rneovim-6aae0e7c943267d2109ae20ec5086791c3b94a5e.zip
lint
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r--src/nvim/syntax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index 80214feb7d..13fcad71fa 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -5048,10 +5048,10 @@ static char_u *get_syn_pattern(char_u *arg, synpat_T *ci)
} else { /* yy=x+99 */
end += 4;
if (*end == '+') {
- ++end;
+ end++;
*p = getdigits_int(&end, true, 0); // positive offset
} else if (*end == '-') {
- ++end;
+ end++;
*p = -getdigits_int(&end, true, 0); // negative offset
}
}