summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-10-02 18:26:10 +0200
committerBram Moolenaar <Bram@vim.org>2018-10-02 18:26:10 +0200
commit4a5abbd6138240d109278fe1f0b45489d22f712d (patch)
treeb564a80ec261f5233d5a14446a69425e9d7391c0 /src/structs.h
parent586c70cdfede55a166e3564f1cb68a299d81987d (diff)
patch 8.1.0448: cursorline not removed when using 'cursorbind'v8.1.0448
Problem: Cursorline not removed when using 'cursorbind'. (Justin Keyes) Solution: Store the last cursor line per window. (closes #3488)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index 7a74e8f683..da4ffb8568 100644
--- 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
*/