patch 8.1.1038: Arabic support excludes Farsi
Problem: Arabic support excludes Farsi.
Solution: Add Farsi support to the Arabic support. (Ali Gholami Rudi,
Ameretat Reith)
diff --git a/src/macros.h b/src/macros.h
index b81af8c..510be9b 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -210,6 +210,7 @@
#define REPLACE_NORMAL(s) (((s) & REPLACE_FLAG) && !((s) & VREPLACE_FLAG))
#ifdef FEAT_ARABIC
+# define ARABIC_CHAR(ch) (((ch) & 0xFF00) == 0x0600)
# define UTF_COMPOSINGLIKE(p1, p2) utf_composinglike((p1), (p2))
#else
# define UTF_COMPOSINGLIKE(p1, p2) utf_iscomposing(utf_ptr2char(p2))