diff options
author | Michael Davis | 2024-03-02 04:37:11 +0000 |
---|---|---|
committer | GitHub | 2024-03-02 04:37:11 +0000 |
commit | 5ca6a448e9b66f4f5b4caa7cd173252d0a78f92d (patch) | |
tree | a54d58501fe130c90542f4cd1adf96c4ae927b35 /helix-lsp/src/client.rs | |
parent | 1d6db30acf91ec1041e014650bf263defdc3feee (diff) |
Support LSP diagnostic tags (#9780)
Diffstat (limited to 'helix-lsp/src/client.rs')
-rw-r--r-- | helix-lsp/src/client.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs index 8d03d799..a7b3989d 100644 --- a/helix-lsp/src/client.rs +++ b/helix-lsp/src/client.rs @@ -631,6 +631,12 @@ impl Client { }), publish_diagnostics: Some(lsp::PublishDiagnosticsClientCapabilities { version_support: Some(true), + tag_support: Some(lsp::TagSupport { + value_set: vec![ + lsp::DiagnosticTag::UNNECESSARY, + lsp::DiagnosticTag::DEPRECATED, + ], + }), ..Default::default() }), inlay_hint: Some(lsp::InlayHintClientCapabilities { |