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

Support LSP diagnostic tags #9767

Closed
wants to merge 1 commit into from
Closed

Commits on Feb 29, 2024

  1. Support LSP diagnostic tags

    These are defined as [`DiagnosticTag`] in the spec. Tags are an optional
    part of a diagnostic that can give some extra metadata. Currently the
    spec only contains `Unnecessary` and `Deprecated` and it gives some
    hints on how to theme those keys. We can introduce some new theme keys
    for these tags and fall back to the diagnostic's severity highlight.
    
    [`DiagnosticTag`]: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnosticTag
    the-mikedavis committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    195d862 View commit details
    Browse the repository at this point in the history