8000 Add 'hint' to supported severities by briancarbone · Pull Request #4967 · dense-analysis/ale · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add 'hint' to supported severities #4967

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

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

Conversation

briancarbone
Copy link
@briancarbone briancarbone commented May 5, 2025

This appears (in my naivety about the codebase) to be what is needed to support LSP's "Hint" severity so plugins like vim9-lsp and coc.nvim which optionally feed into ALE's diagnostic system can display the full breadth of severity types in the language server protocol. For example, rust-analyzer uses hints extensively in "two-part" diagnostics (e.g. "... due to this" pointing to a related line). I haven't added tests yet and the documentation could be more complete, thus this is in draft mode: @w0rp Is this something you're interested in supporting? I think it makes a lot of sense; I'm content to complete this if so.

Closes #4899.

@briancarbone briancarbone force-pushed the support-lsp-hint-severity branch 4 times, most recently from d46acb6 to 2281f3a Compare May 5, 2025 01:21
@briancarbone briancarbone force-pushed the support-lsp-hint-severity branch from 2281f3a to f0c5086 Compare May 5, 2025 01:24
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.

ALE's ale#other_source#ShowResults API should understand the "H" (hint) type
1 participant
0