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 #9780

Merged
merged 1 commit into from
Mar 2, 2024
Merged

Support LSP diagnostic tags #9780

merged 1 commit into from
Mar 2, 2024

Commits on Mar 1, 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 Mar 1, 2024
    Configuration menu
    Copy the full SHA
    0a9d4db View commit details
    Browse the repository at this point in the history