mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 19:34:15 +00:00
fix: don't pad empty lines
This commit is contained in:
parent
bb5cc9ef3b
commit
04d19605db
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue