plugin drawwhitespace: allow newline substitution

This commit is contained in:
jgmdev
2022-10-21 13:53:42 -04:00
parent 437b954595
commit 261292c6aa
+1 -1
View File
@@ -244,7 +244,7 @@ function DocView:draw_line_text(idx, x, y)
local color = base_color
local draw = false
if e == #text - 1 then
if e >= #text - 1 then
draw = show_trailing
color = trailing_color
elseif s == 1 then