From 4a5abbd6138240d109278fe1f0b45489d22f712d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 2 Oct 2018 18:26:10 +0200 Subject: 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) --- src/structs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/structs.h') diff --git a/src/structs.h b/src/structs.h index 7a74e8f68..da4ffb856 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 */ -- cgit v1.2.1