diff src/structs.h @ 14873:a8ed1cb85859 v8.1.0448

patch 8.1.0448: cursorline not removed when using 'cursorbind' commit https://github.com/vim/vim/commit/4a5abbd6138240d109278fe1f0b45489d22f712d Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 2 18:26:10 2018 +0200 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 https://github.com/vim/vim/issues/3488)
author Christian Brabandt <cb@256bit.org>
date Tue, 02 Oct 2018 18:30:06 +0200
parents f562b9fbd0d3
children 6f2ce3b311de
line wrap: on
line diff
--- a/src/structs.h
+++ b/src/structs.h
@@ -2686,6 +2686,10 @@ struct window_S
 				       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
      */