aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-02-17 10:54:00 +0100
committerGitHub <noreply@github.com>2019-02-17 10:54:00 +0100
commit33ce70c8833a4ee0422b8865c7438fe6676cdd6c (patch)
treea3c2c7b74745729773dbac16070d43db1c8f7d09 /src/nvim/main.c
parentdc9dd8d664f2ffec3d199f96e4605cb0729497ec (diff)
downloadrneovim-33ce70c8833a4ee0422b8865c7438fe6676cdd6c.tar.gz
rneovim-33ce70c8833a4ee0422b8865c7438fe6676cdd6c.tar.bz2
rneovim-33ce70c8833a4ee0422b8865c7438fe6676cdd6c.zip
vim-patch:8.1.0932: remove Farsi support (#9622)
Problem: Farsi support is outdated and unused. Solution: Delete the Farsi support. https://github.com/vim/vim/commit/14184a3133b9a6ee5f711d493c04e41ba4fa7c2f
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index c0dea196fb..251a54ad5b 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -424,16 +424,10 @@ int main(int argc, char **argv)
p_ut = 1;
}
- if (curwin->w_p_rl && p_altkeymap) {
- p_hkmap = FALSE; /* Reset the Hebrew keymap mode */
- curwin->w_p_arab = FALSE; /* Reset the Arabic keymap mode */
- p_fkmap = TRUE; /* Set the Farsi keymap mode */
- }
-
- /*
- * Read in registers, history etc, from the ShaDa file.
- * This is where v:oldfiles gets filled.
- */
+ //
+ // Read in registers, history etc, from the ShaDa file.
+ // This is where v:oldfiles gets filled.
+ //
if (*p_shada != NUL) {
shada_read_everything(NULL, false, true);
TIME_MSG("reading ShaDa");
@@ -915,11 +909,6 @@ static void command_line_scan(mparm_T *parmp)
case 'f': { // "-f" GUI: run in foreground.
break;
}
- case 'F': { // "-F" start in Farsi mode: rl + fkmap set.
- p_fkmap = true;
- set_option_value("rl", 1L, NULL, 0);
- break;
- }
case '?': // "-?" give help message (for MS-Windows)
case 'h': { // "-h" give help message
usage();