aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.c
diff options
context:
space:
mode:
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 4a0c1dfe79..7e6e247bba 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -4968,7 +4968,7 @@ static void syn_cmd_sync(exarg_T *eap, int syncing)
arg_end = key + 11;
else
arg_end = key + 9;
- if (arg_end[-1] != '=' || !VIM_ISDIGIT(*arg_end)) {
+ if (arg_end[-1] != '=' || !ascii_isdigit(*arg_end)) {
illegal = TRUE;
break;
}
@@ -6251,7 +6251,7 @@ do_highlight (
HL_TABLE()[idx].sg_cterm_bold = FALSE;
}
- if (VIM_ISDIGIT(*arg))
+ if (ascii_isdigit(*arg))
color = atoi((char *)arg);
else if (STRICMP(arg, "fg") == 0) {
if (cterm_normal_fg_color)