diff options
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r-- | src/nvim/mbyte.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c index e45d43270a..71d2ceb037 100644 --- a/src/nvim/mbyte.c +++ b/src/nvim/mbyte.c @@ -668,7 +668,7 @@ int mb_get_class(const char_u *p) int mb_get_class_buf(const char_u *p, buf_T *buf) { if (MB_BYTE2LEN(p[0]) == 1) { - if (p[0] == NUL || vim_iswhite(p[0])) + if (p[0] == NUL || ascii_iswhite(p[0])) return 0; if (vim_iswordc_buf(p[0], buf)) return 2; |