Mercurial > vim
comparison src/option.c @ 484:f012c4ed8c38 v7.0132
updated for version 7.0132
author | vimboss |
---|---|
date | Fri, 19 Aug 2005 20:40:30 +0000 |
parents | bf5ba8a0cdee |
children | 4772a5e3f9fa |
comparison
equal
deleted
inserted
replaced
483:70afa17bfc01 | 484:f012c4ed8c38 |
---|---|
1504 #endif | 1504 #endif |
1505 {(char_u *)25L, (char_u *)0L}}, | 1505 {(char_u *)25L, (char_u *)0L}}, |
1506 {"mesg", NULL, P_BOOL|P_VI_DEF, | 1506 {"mesg", NULL, P_BOOL|P_VI_DEF, |
1507 (char_u *)NULL, PV_NONE, | 1507 (char_u *)NULL, PV_NONE, |
1508 {(char_u *)FALSE, (char_u *)0L}}, | 1508 {(char_u *)FALSE, (char_u *)0L}}, |
1509 {"mkspellmem", "msm", P_STRING|P_VI_DEF|P_EXPAND|P_SECURE, | |
1510 #ifdef FEAT_SYN_HL | |
1511 (char_u *)&p_msm, PV_NONE, | |
1512 {(char_u *)"460000,2000,500", (char_u *)0L} | |
1513 #else | |
1514 (char_u *)NULL, PV_NONE, | |
1515 {(char_u *)0L, (char_u *)0L} | |
1516 #endif | |
1517 }, | |
1509 {"modeline", "ml", P_BOOL|P_VIM, | 1518 {"modeline", "ml", P_BOOL|P_VIM, |
1510 (char_u *)&p_ml, PV_ML, | 1519 (char_u *)&p_ml, PV_ML, |
1511 {(char_u *)FALSE, (char_u *)TRUE}}, | 1520 {(char_u *)FALSE, (char_u *)TRUE}}, |
1512 {"modelines", "mls", P_NUM|P_VI_DEF, | 1521 {"modelines", "mls", P_NUM|P_VI_DEF, |
1513 (char_u *)&p_mls, PV_NONE, | 1522 (char_u *)&p_mls, PV_NONE, |
4619 #endif | 4628 #endif |
4620 #if defined(FEAT_MOUSE) && (defined(UNIX) || defined(VMS)) | 4629 #if defined(FEAT_MOUSE) && (defined(UNIX) || defined(VMS)) |
4621 (void)opt_strings_flags(p_ttym, p_ttym_values, &ttym_flags, FALSE); | 4630 (void)opt_strings_flags(p_ttym, p_ttym_values, &ttym_flags, FALSE); |
4622 #endif | 4631 #endif |
4623 #ifdef FEAT_SYN_HL | 4632 #ifdef FEAT_SYN_HL |
4633 (void)spell_check_msm(); | |
4624 (void)spell_check_sps(); | 4634 (void)spell_check_sps(); |
4625 (void)compile_cap_prog(curbuf); | 4635 (void)compile_cap_prog(curbuf); |
4626 #endif | 4636 #endif |
4627 #if defined(FEAT_TOOLBAR) && !defined(FEAT_GUI_W32) | 4637 #if defined(FEAT_TOOLBAR) && !defined(FEAT_GUI_W32) |
4628 (void)opt_strings_flags(p_toolbar, p_toolbar_values, &toolbar_flags, TRUE); | 4638 (void)opt_strings_flags(p_toolbar, p_toolbar_values, &toolbar_flags, TRUE); |
5787 } | 5797 } |
5788 /* 'spellsuggest' */ | 5798 /* 'spellsuggest' */ |
5789 else if (varp == &p_sps) | 5799 else if (varp == &p_sps) |
5790 { | 5800 { |
5791 if (spell_check_sps() != OK) | 5801 if (spell_check_sps() != OK) |
5802 errmsg = e_invarg; | |
5803 } | |
5804 /* 'mkspellmem' */ | |
5805 else if (varp == &p_msm) | |
5806 { | |
5807 if (spell_check_msm() != OK) | |
5792 errmsg = e_invarg; | 5808 errmsg = e_invarg; |
5793 } | 5809 } |
5794 #endif | 5810 #endif |
5795 | 5811 |
5796 #ifdef FEAT_QUICKFIX | 5812 #ifdef FEAT_QUICKFIX |