summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-02-16 15:10:30 +0100
committerBram Moolenaar <Bram@vim.org>2019-02-16 15:10:30 +0100
commit14184a3133b9a6ee5f711d493c04e41ba4fa7c2f (patch)
tree2fefdfea751bfbfdbbec793f880073bd8387bb4f /src/ex_cmds.c
parent6902c0eb27a3e4479445badfef31443f2227fe60 (diff)
patch 8.1.0932: Farsi support is outdated and unusedv8.1.0932
Problem: Farsi support is outdated and unused. Solution: Delete the Farsi support.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index e9fa94f678..79b9bc11d4 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -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));