Move lineguide below blinking cursor, fixes #1488 (#1511)

* Move lineguide below blinking cursor, fixes #1488

* Added config_spec custom color
This commit is contained in:
takase1121
2023-08-19 13:26:01 +08:00
parent 64e5fd8ead
commit 2a9b367e13
+2 -2
View File
@@ -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, {