0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -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:
Bram Moolenaar
2017-01-14 15:52:46 +01:00
parent 519d7785f4
commit e47683a091
2 changed files with 3 additions and 1 deletions

View File

@@ -2851,7 +2851,7 @@ do_check_cursorbind(void)
if (has_mbyte)
mb_adjust_cursor();
# endif
redraw_later(VALID);
redraw_later(curwin->w_p_cul ? NOT_VALID : VALID);
/* Only scroll when 'scrollbind' hasn't done this. */
if (!curwin->w_p_scb)