mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
vim-patch:8.0.0451: some macros are in lower case
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
91acfffc1e
This commit is contained in:
@@ -34,4 +34,15 @@ typedef enum {
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "charset.h.generated.h"
|
||||
#endif
|
||||
|
||||
static inline bool vim_isbreak(int c)
|
||||
REAL_FATTR_CONST
|
||||
REAL_FATTR_ALWAYS_INLINE;
|
||||
|
||||
/// Check if `c` is one of the characters in 'breakat'.
|
||||
/// Used very often if 'linebreak' is set
|
||||
static inline bool vim_isbreak(int c)
|
||||
{
|
||||
return breakat_flags[(char_u)c];
|
||||
}
|
||||
#endif // NVIM_CHARSET_H
|
||||
|
Reference in New Issue
Block a user