mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 21:18:34 +00:00
vim-patch:8.1.0932: remove Farsi support (#9622)
Problem: Farsi support is outdated and unused.
Solution: Delete the Farsi support.
14184a3133
This commit is contained in:
@@ -30,7 +30,6 @@
|
||||
#include "nvim/ex_docmd.h"
|
||||
#include "nvim/ex_eval.h"
|
||||
#include "nvim/ex_getln.h"
|
||||
#include "nvim/farsi.h"
|
||||
#include "nvim/fileio.h"
|
||||
#include "nvim/fold.h"
|
||||
#include "nvim/getchar.h"
|
||||
@@ -3295,9 +3294,6 @@ static buf_T *do_sub(exarg_T *eap, proftime_T timeout,
|
||||
delimiter = *cmd++; // remember delimiter character
|
||||
has_second_delim = true;
|
||||
} else { // find the end of the regexp
|
||||
if (p_altkeymap && curwin->w_p_rl) {
|
||||
lrF_sub(cmd);
|
||||
}
|
||||
which_pat = RE_LAST; // use last used regexp
|
||||
delimiter = *cmd++; // remember delimiter character
|
||||
pat = cmd; // remember start of search pat
|
||||
@@ -4298,9 +4294,6 @@ void ex_global(exarg_T *eap)
|
||||
*cmd++ = NUL; /* replace it with a NUL */
|
||||
}
|
||||
|
||||
if (p_altkeymap && curwin->w_p_rl)
|
||||
lrFswap(pat,0);
|
||||
|
||||
if (search_regcomp(pat, RE_BOTH, which_pat, SEARCH_HIS, ®match) == FAIL) {
|
||||
EMSG(_(e_invcmd));
|
||||
return;
|
||||
|
Reference in New Issue
Block a user