0
0
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:
Bram Moolenaar
2019-03-22 16:33:15 +01:00
parent 6b6f7aae4a
commit dc4fa190e7
11 changed files with 442 additions and 1052 deletions

View File

@@ -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))