forked from aniani/vim
patch 7.4.721
Problem: When 'list' is set Visual mode does not highlight anything in empty lines. (mgaleski) Solution: Check the value of lcs_eol in another place. (Christian Brabandt)
This commit is contained in:
@@ -4703,7 +4703,7 @@ win_line(wp, lnum, startrow, endrow, nochange)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (c == NUL
|
else if (c == NUL
|
||||||
&& ((wp->w_p_list && lcs_eol > 0)
|
&& (wp->w_p_list
|
||||||
|| ((fromcol >= 0 || fromcol_prev >= 0)
|
|| ((fromcol >= 0 || fromcol_prev >= 0)
|
||||||
&& tocol > vcol
|
&& tocol > vcol
|
||||||
&& VIsual_mode != Ctrl_V
|
&& VIsual_mode != Ctrl_V
|
||||||
@@ -4749,7 +4749,7 @@ win_line(wp, lnum, startrow, endrow, nochange)
|
|||||||
c_extra = NUL;
|
c_extra = NUL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (wp->w_p_list)
|
if (wp->w_p_list && lcs_eol > 0)
|
||||||
c = lcs_eol;
|
c = lcs_eol;
|
||||||
else
|
else
|
||||||
c = ' ';
|
c = ' ';
|
||||||
|
@@ -741,6 +741,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 */
|
||||||
|
/**/
|
||||||
|
721,
|
||||||
/**/
|
/**/
|
||||||
720,
|
720,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user