fix(render): disable underline for diagnostics (#1478)

Problem: On current Nvim nightlies, a regression in a
`vim.highlight.range()` refactor makes underlines for diagnostics at end
of line extend into the next line, leading to visual artifacts in the
update view.

Solution: Suppress underlines for diagnostics, as they are not wanted
anyway.
This commit is contained in:
Christian Clason 2024-05-26 15:21:58 +02:00 committed by GitHub
parent 98210e2f82
commit ea7b9c3c3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ function M:update()
diag.lnum = diag.row - 1
return diag
end, self._diagnostics),
{ signs = false, virtual_text = true }
{ signs = false, virtual_text = true, underline = false }
)
end