mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 8.0.0181: with cursorbind set cursor column highlighting is off
Problem: When 'cursorbind' and 'cursorcolumn' are both on, the column highlignt in non-current windows is wrong. Solution: Add validate_cursor(). (Masanori Misono, closes #1372)
This commit is contained in:
@@ -2841,6 +2841,10 @@ do_check_cursorbind(void)
|
|||||||
restart_edit_save = restart_edit;
|
restart_edit_save = restart_edit;
|
||||||
restart_edit = TRUE;
|
restart_edit = TRUE;
|
||||||
check_cursor();
|
check_cursor();
|
||||||
|
# ifdef FEAT_SYN_HL
|
||||||
|
if (curwin->w_p_cuc)
|
||||||
|
validate_cursor();
|
||||||
|
# endif
|
||||||
restart_edit = restart_edit_save;
|
restart_edit = restart_edit_save;
|
||||||
# ifdef FEAT_MBYTE
|
# ifdef FEAT_MBYTE
|
||||||
/* Correct cursor for multi-byte character. */
|
/* Correct cursor for multi-byte character. */
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
181,
|
||||||
/**/
|
/**/
|
||||||
180,
|
180,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user