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
|
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")
|
||||||
|
|
Loading…
Reference in New Issue