Skip to content

Commit e47683a

Browse files
committed
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.
1 parent 519d778 commit e47683a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/move.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2851,7 +2851,7 @@ do_check_cursorbind(void)
28512851
if (has_mbyte)
28522852
mb_adjust_cursor();
28532853
# endif
2854-
redraw_later(VALID);
2854+
redraw_later(curwin->w_p_cul ? NOT_VALID : VALID);
28552855

28562856
/* Only scroll when 'scrollbind' hasn't done this. */
28572857
if (!curwin->w_p_scb)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
182,
767769
/**/
768770
181,
769771
/**/

0 commit comments

Comments
 (0)