mirror of
https://github.com/neovim/neovim.git
synced 2025-11-12 13:28:54 +00:00
Replace vim_iswhite with ascii_iswhite() defined in ascii.h
This commit is contained in:
@@ -328,12 +328,6 @@ enum {
|
||||
#define hl_attr(n) highlight_attr[(int)(n)]
|
||||
#define term_str(n) term_strings[(int)(n)]
|
||||
|
||||
/*
|
||||
* vim_iswhite() is used for "^" and the like. It differs from isspace()
|
||||
* because it doesn't include <CR> and <LF> and the like.
|
||||
*/
|
||||
#define vim_iswhite(x) ((x) == ' ' || (x) == '\t')
|
||||
|
||||
/* Maximum number of bytes in a multi-byte character. It can be one 32-bit
|
||||
* character of up to 6 bytes, or one 16-bit character of up to three bytes
|
||||
* plus six following composing characters of three bytes each. */
|
||||
|
||||
Reference in New Issue
Block a user