mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +00:00
options: remove 'maxcombine` option (always use 6)
This commit is contained in:
@@ -4102,11 +4102,7 @@ static char *set_num_option(int opt_idx, char_u *varp, long value,
|
||||
errmsg = e_winwidth;
|
||||
}
|
||||
} else if (pp == &p_mco) {
|
||||
if (value > MAX_MCO) {
|
||||
errmsg = e_invarg;
|
||||
} else if (value < 0) {
|
||||
errmsg = e_positive;
|
||||
}
|
||||
value = MAX_MCO;
|
||||
} else if (pp == &p_titlelen) {
|
||||
if (value < 0) {
|
||||
errmsg = e_positive;
|
||||
@@ -4268,8 +4264,6 @@ static char *set_num_option(int opt_idx, char_u *varp, long value,
|
||||
if (pp == &curbuf->b_p_sw || curbuf->b_p_sw == 0) {
|
||||
parse_cino(curbuf);
|
||||
}
|
||||
} else if (pp == &p_mco) {
|
||||
screenclear(); // will re-allocate the screen
|
||||
} else if (pp == &curbuf->b_p_iminsert) {
|
||||
showmode();
|
||||
// Show/unshow value of 'keymap' in status lines.
|
||||
|
@@ -1493,9 +1493,8 @@ return {
|
||||
full_name='maxcombine', abbreviation='mco',
|
||||
type='number', scope={'global'},
|
||||
vi_def=true,
|
||||
redraw={'curswant'},
|
||||
varname='p_mco',
|
||||
defaults={if_true={vi=2}}
|
||||
defaults={if_true={vi=6}}
|
||||
},
|
||||
{
|
||||
full_name='maxfuncdepth', abbreviation='mfd',
|
||||
|
Reference in New Issue
Block a user