Mercurial > vim
changeset 10583:f91c0376f2c6 v8.0.0181
patch 8.0.0181: with cursorbind set cursor column highlighting is off
commit https://github.com/vim/vim/commit/519d7785f4437762c07b2e04217f83a069a8c663
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 14 14:54:33 2017 +0100
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 14 Jan 2017 15:00:04 +0100 |
parents | 7153b84f4542 |
children | fd12a16839ad |
files | src/move.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/move.c +++ b/src/move.c @@ -2841,6 +2841,10 @@ do_check_cursorbind(void) restart_edit_save = restart_edit; restart_edit = TRUE; check_cursor(); +# ifdef FEAT_SYN_HL + if (curwin->w_p_cuc) + validate_cursor(); +# endif restart_edit = restart_edit_save; # ifdef FEAT_MBYTE /* Correct cursor for multi-byte character. */