mirror of https://github.com/folke/lazy.nvim.git
fix(ui): issue with rendering empty lines. Fixes #770
This commit is contained in:
parent
5b7b8eecea
commit
98ba47efed
|
@ -88,7 +88,7 @@ function Text:render(buf)
|
|||
local width = vim.fn.strlen(segment.str)
|
||||
|
||||
local extmark = segment.hl
|
||||
if extmark then
|
||||
if extmark and width > 0 then
|
||||
if type(extmark) == "string" then
|
||||
extmark = { hl_group = extmark, end_col = col + width }
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue