diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/src/main.c b/src/main.c index df204bc0a9..6ad6fff7c5 100644 --- a/src/main.c +++ b/src/main.c @@ -535,17 +535,6 @@ vim_main2(void) if (params.no_swap_file) p_uc = 0; -#ifdef FEAT_FKMAP - if (curwin->w_p_rl && p_altkeymap) - { - p_hkmap = FALSE; /* Reset the Hebrew keymap mode */ -# ifdef FEAT_ARABIC - curwin->w_p_arab = FALSE; /* Reset the Arabic keymap mode */ -# endif - p_fkmap = TRUE; /* Set the Farsi keymap mode */ - } -#endif - #ifdef FEAT_GUI if (gui.starting) { @@ -2025,14 +2014,9 @@ command_line_scan(mparm_T *parmp) main_start_gui(); break; - case 'F': /* "-F" start in Farsi mode: rl + fkmap set */ -#ifdef FEAT_FKMAP - p_fkmap = TRUE; - set_option_value((char_u *)"rl", 1L, NULL, 0); -#else + case 'F': /* "-F" was for Farsi mode */ mch_errmsg(_(e_nofarsi)); mch_exit(2); -#endif break; case '?': /* "-?" give help message (for MS-Windows) */ @@ -3351,9 +3335,6 @@ usage(void) #ifdef FEAT_RIGHTLEFT main_msg(_("-H\t\t\tStart in Hebrew mode")); #endif -#ifdef FEAT_FKMAP - main_msg(_("-F\t\t\tStart in Farsi mode")); -#endif main_msg(_("-T <terminal>\tSet terminal type to <terminal>")); main_msg(_("--not-a-term\t\tSkip warning for input/output not being a terminal")); main_msg(_("--ttyfail\t\tExit if input or output is not a terminal")); |