Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(render): disable underline for diagnostics #1478

Merged
merged 1 commit into from
May 26, 2024
Merged

fix(render): disable underline for diagnostics #1478

merged 1 commit into from
May 26, 2024

Conversation

clason
Copy link
Collaborator

@clason clason commented May 26, 2024

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:

Screenshot 2024-05-26 at 13 04 46

(see neovim/neovim#28986)

Solution: Suppress underlines for diagnostics, as they are not wanted
anyway.

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.
@clason clason requested a review from folke May 26, 2024 11:11
@folke folke merged commit ea7b9c3 into main May 26, 2024
6 checks passed
@folke
Copy link
Owner

folke commented May 26, 2024

Awesome, thanks!

@clason clason deleted the fix/diagnostics branch May 26, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants