plugin lineguide: be strict on drawing to DocView

This commit is contained in:
jgmdev 2022-10-15 21:56:34 -04:00
parent 6b754eb628
commit 5aaa5ab273
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ function DocView:draw_overlay(...)
and and
config.plugins.lineguide.enabled config.plugins.lineguide.enabled
and and
not self:is(CommandView) self:is(DocView)
then then
local line_x = self:get_line_screen_position(1) local line_x = self:get_line_screen_position(1)
local character_width = self:get_font():get_width("n") local character_width = self:get_font():get_width("n")