aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp
diff options
context:
space:
mode:
authorMichael Davis2024-03-02 04:37:11 +0000
committerGitHub2024-03-02 04:37:11 +0000
commit5ca6a448e9b66f4f5b4caa7cd173252d0a78f92d (patch)
treea54d58501fe130c90542f4cd1adf96c4ae927b35 /helix-lsp
parent1d6db30acf91ec1041e014650bf263defdc3feee (diff)
Support LSP diagnostic tags (#9780)
Diffstat (limited to 'helix-lsp')
-rw-r--r--helix-lsp/src/client.rs6
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 {