mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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)
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user