mirror of https://github.com/folke/lazy.nvim.git
fix(ui): don't pad empty lines (#768)
This commit is contained in:
parent
bb5cc9ef3b
commit
b00d6f7102
|
@ -72,6 +72,9 @@ function Text:render(buf)
|
||||||
str = str .. segment.str
|
str = str .. segment.str
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if str:match("^%s*$") then
|
||||||
|
str = ""
|
||||||
|
end
|
||||||
table.insert(lines, str)
|
table.insert(lines, str)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue