From 5aaa5ab273adec63bd64f52392eb80638f41ca2f Mon Sep 17 00:00:00 2001 From: jgmdev Date: Sat, 15 Oct 2022 21:56:34 -0400 Subject: [PATCH] plugin lineguide: be strict on drawing to DocView --- data/plugins/lineguide.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/plugins/lineguide.lua b/data/plugins/lineguide.lua index efe606dd..63f9a9ca 100644 --- a/data/plugins/lineguide.lua +++ b/data/plugins/lineguide.lua @@ -86,7 +86,7 @@ function DocView:draw_overlay(...) and config.plugins.lineguide.enabled and - not self:is(CommandView) + self:is(DocView) then local line_x = self:get_line_screen_position(1) local character_width = self:get_font():get_width("n")