aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/markers.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/markers.lua b/plugins/markers.lua
index e09fa3d..ad89fad 100644
--- a/plugins/markers.lua
+++ b/plugins/markers.lua
@@ -52,12 +52,12 @@ end
local draw_line_gutter = DocView.draw_line_gutter
-function DocView:draw_line_gutter(idx, x, y)
+function DocView:draw_line_gutter(idx, x, y, width)
if cache[self.doc] and cache[self.doc][idx] then
local h = self:get_line_height()
renderer.draw_rect(x, y, style.padding.x * 0.4, h, style.selection)
end
- draw_line_gutter(self, idx, x, y)
+ draw_line_gutter(self, idx, x, y, width)
end