Mercurial > vim
changeset 1509:79bba9e6af2b v7.1.224
updated for version 7.1-224
author | vimboss |
---|---|
date | Sun, 13 Jan 2008 15:18:01 +0000 |
parents | c89903e16772 |
children | 56fb4ab9f62f |
files | src/main.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main.c +++ b/src/main.c @@ -1775,7 +1775,8 @@ command_line_scan(parmp) case 'F': /* "-F" start in Farsi mode: rl + fkmap set */ #ifdef FEAT_FKMAP - curwin->w_p_rl = p_fkmap = TRUE; + p_fkmap = TRUE; + set_option_value((char_u *)"rl", 1L, NULL, 0); #else mch_errmsg(_(e_nofarsi)); mch_exit(2); @@ -1792,7 +1793,8 @@ command_line_scan(parmp) case 'H': /* "-H" start in Hebrew mode: rl + hkmap set */ #ifdef FEAT_RIGHTLEFT - curwin->w_p_rl = p_hkmap = TRUE; + p_hkmap = TRUE; + set_option_value((char_u *)"rl", 1L, NULL, 0); #else mch_errmsg(_(e_nohebrew)); mch_exit(2);