diff --git a/lua/lazy/view/text.lua b/lua/lazy/view/text.lua index 5351db48..f4afb6ef 100644 --- a/lua/lazy/view/text.lua +++ b/lua/lazy/view/text.lua @@ -72,6 +72,9 @@ function Text:render(buf) str = str .. segment.str end + if str:match("^%s*$") then + str = "" + end table.insert(lines, str) end