plugin lineguide: be strict on drawing to DocView
This commit is contained in:
parent
6b754eb628
commit
5aaa5ab273
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue