summaryrefslogtreecommitdiffstats
path: root/src/move.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/move.c')
-rw-r--r--src/move.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/move.c b/src/move.c
index 912e51ccd1..86b19aafc3 100644
--- 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. */