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: replace LspDiagnosticsUnderline%LEVEL% highlight group with DiagnosticUnderline%LEVEL% #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryanmsnyder
Copy link

It seems that the highlight group LspDiagnosticsUnderline is deprecated. I couldn't find any mention of it in the neovim docs. Also, diagnostic undercurls were not working for me with this theme using neovim v0.9.1. Replacing LspDiagnosticsUnderline with DiagnosticUnderline fixed the issue.

Comment on lines +170 to +173
DiagnosticUnderlineError = { style = "undercurl", sp = c.error }, -- Used to underline "Error" diagnostics
DiagnosticUnderlineWarn = { style = "undercurl", sp = c.warning }, -- Used to underline "Warning" diagnostics
DiagnosticUnderlineInfo = { style = "undercurl", sp = c.info }, -- Used to underline "Information" diagnostics
DiagnosticUnderlineHint = { style = "undercurl", sp = c.hint }, -- Used to underline "Hint" diagnostics
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the changes in this file were from my formatter. These are the lines of interest.

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.

1 participant