mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
Replace vim_iswhite with ascii_iswhite() defined in ascii.h
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user