mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 8.0.0182: cursor ilne not update when 'cursorbind' is set
Problem: When 'cursorbind' and 'cursorline' are set, but 'cursorcolumn' is not, then the cursor line highlighting is not updated. (Hirohito Higashi) Solution: Call redraw_later() with NOT_VALID.
This commit is contained in:
@@ -2851,7 +2851,7 @@ do_check_cursorbind(void)
|
|||||||
if (has_mbyte)
|
if (has_mbyte)
|
||||||
mb_adjust_cursor();
|
mb_adjust_cursor();
|
||||||
# endif
|
# endif
|
||||||
redraw_later(VALID);
|
redraw_later(curwin->w_p_cul ? NOT_VALID : VALID);
|
||||||
|
|
||||||
/* Only scroll when 'scrollbind' hasn't done this. */
|
/* Only scroll when 'scrollbind' hasn't done this. */
|
||||||
if (!curwin->w_p_scb)
|
if (!curwin->w_p_scb)
|
||||||
|
@@ -764,6 +764,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 */
|
||||||
|
/**/
|
||||||
|
182,
|
||||||
/**/
|
/**/
|
||||||
181,
|
181,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user