forked from aniani/vim
updated for version 7.2-255
This commit is contained in:
18
src/option.c
18
src/option.c
@@ -7430,6 +7430,8 @@ set_bool_option(opt_idx, varp, value, opt_flags)
|
|||||||
{
|
{
|
||||||
if (curwin->w_p_wrap)
|
if (curwin->w_p_wrap)
|
||||||
curwin->w_leftcol = 0;
|
curwin->w_leftcol = 0;
|
||||||
|
if (curwin->w_curswant != MAXCOL)
|
||||||
|
curwin->w_set_curswant = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef FEAT_WINDOWS
|
#ifdef FEAT_WINDOWS
|
||||||
@@ -7664,6 +7666,22 @@ set_bool_option(opt_idx, varp, value, opt_flags)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef FEAT_LINEBREAK
|
||||||
|
if ((int *)varp == &curwin->w_p_lbr)
|
||||||
|
{
|
||||||
|
if (curwin->w_curswant != MAXCOL)
|
||||||
|
curwin->w_set_curswant = TRUE;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef FEAT_RIGHTLEFT
|
||||||
|
if ((int *)varp == &curwin->w_p_rl)
|
||||||
|
{
|
||||||
|
if (curwin->w_curswant != MAXCOL)
|
||||||
|
curwin->w_set_curswant = TRUE;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* End of handling side effects for bool options.
|
* End of handling side effects for bool options.
|
||||||
*/
|
*/
|
||||||
|
@@ -676,6 +676,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
255,
|
||||||
/**/
|
/**/
|
||||||
254,
|
254,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user