aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/indent_c.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/indent_c.c')
-rw-r--r--src/nvim/indent_c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/indent_c.c b/src/nvim/indent_c.c
index 00a5e76c9c..d62e7aad03 100644
--- a/src/nvim/indent_c.c
+++ b/src/nvim/indent_c.c
@@ -82,7 +82,7 @@ static char_u *skip_string(char_u *p)
i = 2;
if (p[1] == '\\') { /* '\n' or '\000' */
++i;
- while (vim_isdigit(p[i - 1])) /* '\000' */
+ while (ascii_isdigit(p[i - 1])) /* '\000' */
++i;
}
if (p[i] == '\'') { /* check for trailing ' */
@@ -1467,7 +1467,7 @@ void parse_cino(buf_T *buf)
divider = 0;
if (*p == '.') { /* ".5s" means a fraction */
fraction = atoi((char *)++p);
- while (VIM_ISDIGIT(*p)) {
+ while (ascii_isdigit(*p)) {
++p;
if (divider)
divider *= 10;
@@ -1673,7 +1673,7 @@ int get_c_indent(void)
what = *p++;
else if (*p == COM_LEFT || *p == COM_RIGHT)
align = *p++;
- else if (VIM_ISDIGIT(*p) || *p == '-') {
+ else if (ascii_isdigit(*p) || *p == '-') {
off = getdigits_int(&p);
}
else