1
0
forked from aniani/vim

patch 8.1.0932: Farsi support is outdated and unused

Problem:    Farsi support is outdated and unused.
Solution:   Delete the Farsi support.
This commit is contained in:
Bram Moolenaar
2019-02-16 15:10:30 +01:00
parent 6902c0eb27
commit 14184a3133
46 changed files with 240 additions and 3429 deletions

View File

@@ -1477,12 +1477,8 @@ do_search(
}
}
#ifdef FEAT_FKMAP /* when in Farsi mode, reverse the character flow */
if (p_altkeymap && curwin->w_p_rl)
lrFswap(searchstr,0);
#endif
c = searchit(curwin, curbuf, &pos, NULL, dirc == '/' ? FORWARD : BACKWARD,
c = searchit(curwin, curbuf, &pos, NULL,
dirc == '/' ? FORWARD : BACKWARD,
searchstr, count, spats[0].off.end + (options &
(SEARCH_KEEP + SEARCH_PEEK + SEARCH_HIS
+ SEARCH_MSG + SEARCH_START
@@ -2976,10 +2972,6 @@ cls(void)
int c;
c = gchar_cursor();
#ifdef FEAT_FKMAP /* when 'akm' (Farsi mode), take care of Farsi blank */
if (p_altkeymap && c == F_BLANK)
return 0;
#endif
if (c == ' ' || c == '\t' || c == NUL)
return 0;
if (enc_dbcs != 0 && c > 0xFF)