Mercurial > vim
comparison src/option.c @ 14:946da5994c01
updated for version 7.0006
author | vimboss |
---|---|
date | Mon, 05 Jul 2004 15:58:32 +0000 |
parents | 24d5189d3956 |
children | 631143ac4a01 |
comparison
equal
deleted
inserted
replaced
13:24d5189d3956 | 14:946da5994c01 |
---|---|
1536 #endif | 1536 #endif |
1537 }, | 1537 }, |
1538 {"mousetime", "mouset", P_NUM|P_VI_DEF, | 1538 {"mousetime", "mouset", P_NUM|P_VI_DEF, |
1539 (char_u *)&p_mouset, PV_NONE, | 1539 (char_u *)&p_mouset, PV_NONE, |
1540 {(char_u *)500L, (char_u *)0L}}, | 1540 {(char_u *)500L, (char_u *)0L}}, |
1541 {"mzquantum", "mzq", P_NUM, | |
1542 #ifdef FEAT_MZSCHEME | |
1543 (char_u *)&p_mzq, PV_NONE, | |
1544 #else | |
1545 (char_u *)NULL, PV_NONE, | |
1546 #endif | |
1547 {(char_u *)100L, (char_u *)100L}}, | |
1541 {"novice", NULL, P_BOOL|P_VI_DEF, | 1548 {"novice", NULL, P_BOOL|P_VI_DEF, |
1542 (char_u *)NULL, PV_NONE, | 1549 (char_u *)NULL, PV_NONE, |
1543 {(char_u *)FALSE, (char_u *)0L}}, | 1550 {(char_u *)FALSE, (char_u *)0L}}, |
1544 {"nrformats", "nf", P_STRING|P_ALLOCED|P_VI_DEF|P_COMMA|P_NODUP, | 1551 {"nrformats", "nf", P_STRING|P_ALLOCED|P_VI_DEF|P_COMMA|P_NODUP, |
1545 (char_u *)&p_nf, PV_NF, | 1552 (char_u *)&p_nf, PV_NF, |
6805 p_uc = 100; | 6812 p_uc = 100; |
6806 } | 6813 } |
6807 if (p_uc && !old_value) | 6814 if (p_uc && !old_value) |
6808 ml_open_files(); | 6815 ml_open_files(); |
6809 } | 6816 } |
6817 #if defined(FEAT_MZSCHEME) && defined(FEAT_GUI) | |
6818 else if (pp == &p_mzq) | |
6819 mzvim_reset_timer(); | |
6820 #endif | |
6810 | 6821 |
6811 /* sync undo before 'undolevels' changes */ | 6822 /* sync undo before 'undolevels' changes */ |
6812 else if (pp == &p_ul) | 6823 else if (pp == &p_ul) |
6813 { | 6824 { |
6814 /* use the old value, otherwise u_sync() may not work properly */ | 6825 /* use the old value, otherwise u_sync() may not work properly */ |
7079 if (s == NULL) | 7090 if (s == NULL) |
7080 opt_idx = -1; | 7091 opt_idx = -1; |
7081 return opt_idx; | 7092 return opt_idx; |
7082 } | 7093 } |
7083 | 7094 |
7084 #if defined(FEAT_EVAL) || defined(FEAT_TCL) | 7095 #if defined(FEAT_EVAL) || defined(FEAT_TCL) || defined(FEAT_MZSCHEME) |
7085 /* | 7096 /* |
7086 * Get the value for an option. | 7097 * Get the value for an option. |
7087 * | 7098 * |
7088 * Returns: | 7099 * Returns: |
7089 * Number or Toggle option: 1, *numval gets value. | 7100 * Number or Toggle option: 1, *numval gets value. |