diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-02-16 15:10:30 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-02-16 15:10:30 +0100 |
commit | 14184a3133b9a6ee5f711d493c04e41ba4fa7c2f (patch) | |
tree | 2fefdfea751bfbfdbbec793f880073bd8387bb4f /src/ex_cmds.c | |
parent | 6902c0eb27a3e4479445badfef31443f2227fe60 (diff) | |
download | vim-git-14184a3133b9a6ee5f711d493c04e41ba4fa7c2f.tar.gz |
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.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index e9fa94f67..79b9bc11d 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, ®match) == FAIL) { emsg(_(e_invcmd)); |