blob: 7ea728ed47d4614093b2e2b44841c1fb6953805e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef NVIM_ARABIC_H
#define NVIM_ARABIC_H
#include <stdbool.h>
/// Whether c belongs to the range of Arabic characters that might be shaped.
static inline bool arabic_char(int c)
{
// return c >= a_HAMZA && c <= a_MINI_ALEF;
return c >= 0x0621 && c <= 0x0670;
}
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "arabic.h.generated.h"
#endif
#endif // NVIM_ARABIC_H
|