plugin drawwhitespace: allow newline substitution
This commit is contained in:
parent
437b954595
commit
261292c6aa
|
@ -244,7 +244,7 @@ function DocView:draw_line_text(idx, x, y)
|
||||||
local color = base_color
|
local color = base_color
|
||||||
local draw = false
|
local draw = false
|
||||||
|
|
||||||
if e == #text - 1 then
|
if e >= #text - 1 then
|
||||||
draw = show_trailing
|
draw = show_trailing
|
||||||
color = trailing_color
|
color = trailing_color
|
||||||
elseif s == 1 then
|
elseif s == 1 then
|
||||||
|
|
Loading…
Reference in New Issue