From 2a9b367e13229dc4afc74a996cb6dff6f6a08fdc Mon Sep 17 00:00:00 2001 From: takase1121 <20792268+takase1121@users.noreply.github.com> Date: Sat, 19 Aug 2023 13:26:01 +0800 Subject: [PATCH] Move lineguide below blinking cursor, fixes #1488 (#1511) * Move lineguide below blinking cursor, fixes #1488 * Added config_spec custom color --- data/plugins/lineguide.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/plugins/lineguide.lua b/data/plugins/lineguide.lua index 63f9a9ca..da9f9b97 100644 --- a/data/plugins/lineguide.lua +++ b/data/plugins/lineguide.lua @@ -79,8 +79,6 @@ end local draw_overlay = DocView.draw_overlay function DocView:draw_overlay(...) - draw_overlay(self, ...) - if type(config.plugins.lineguide) == "table" and @@ -106,6 +104,8 @@ function DocView:draw_overlay(...) end end end + -- everything else like the cursor above the line guides + draw_overlay(self, ...) end command.add(nil, {