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:
@@ -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, ®match) == FAIL)
|
||||
{
|
||||
emsg(_(e_invcmd));
|
||||
|
Reference in New Issue
Block a user