patch 8.1.0448: cursorline not removed when using 'cursorbind'
Problem: Cursorline not removed when using 'cursorbind'. (Justin Keyes)
Solution: Store the last cursor line per window. (closes #3488)
diff --git a/src/structs.h b/src/structs.h
index 7a74e8f..da4ffb8 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -2686,6 +2686,10 @@
time through cursupdate() to the
current virtual column */
+#ifdef FEAT_SYN_HL
+ linenr_T w_last_cursorline; // where last time 'cursorline' was drawn
+#endif
+
/*
* the next seven are used to update the visual part
*/