aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp
diff options
context:
space:
mode:
authormatt rice2022-04-25 02:14:46 +0000
committerGitHub2022-04-25 02:14:46 +0000
commitdb47761154ff8e36bd442ed64d4ccb6051279baa (patch)
tree8cf604f667214068fbfd1f2dfe9c71e1e1592c0d /helix-lsp
parenta8cb46680d0588d24262aece840c6b66cb9b87de (diff)
register publish_diagnostics client capability (#2241)
Diffstat (limited to 'helix-lsp')
-rw-r--r--helix-lsp/src/client.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs
index 2459554c..4bfa2f64 100644
--- a/helix-lsp/src/client.rs
+++ b/helix-lsp/src/client.rs
@@ -341,6 +341,9 @@ impl Client {
}),
..Default::default()
}),
+ publish_diagnostics: Some(lsp::PublishDiagnosticsClientCapabilities {
+ ..Default::default()
+ }),
..Default::default()
}),
window: Some(lsp::WindowClientCapabilities {