0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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

@@ -4911,10 +4911,6 @@ do_sub(exarg_T *eap)
}
else /* find the end of the regexp */
{
#ifdef FEAT_FKMAP /* reverse the flow of the Farsi characters */
if (p_altkeymap && curwin->w_p_rl)
lrF_sub(cmd);
#endif
which_pat = RE_LAST; /* use last used regexp */
delimiter = *cmd++; /* remember delimiter character */
pat = cmd; /* remember start of search pat */
@@ -6070,11 +6066,6 @@ ex_global(exarg_T *eap)
*cmd++ = NUL; /* replace it with a NUL */
}
#ifdef FEAT_FKMAP /* when in Farsi mode, reverse the character flow */
if (p_altkeymap && curwin->w_p_rl)
lrFswap(pat,0);
#endif
if (search_regcomp(pat, RE_BOTH, which_pat, SEARCH_HIS, &regmatch) == FAIL)
{
emsg(_(e_invcmd));