aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp
diff options
context:
space:
mode:
authorPascal Kuthe2023-03-12 00:00:24 +0000
committerBlaž Hrastnik2023-03-16 06:45:49 +0000
commit3c9d5d02153ca2d81e2780e1f6daeefc40de2706 (patch)
tree5f5d2c8b9dcb61ff2058f2b6cf6e47e46fdaae82 /helix-lsp
parent2a27d1b505a676c436a4b4d37d7124f9bc098225 (diff)
discard outdated diagnostics recived by the LS
Diffstat (limited to 'helix-lsp')
-rw-r--r--helix-lsp/src/client.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs
index c46bdd8c..f6bf5e39 100644
--- a/helix-lsp/src/client.rs
+++ b/helix-lsp/src/client.rs
@@ -387,6 +387,7 @@ impl Client {
..Default::default()
}),
publish_diagnostics: Some(lsp::PublishDiagnosticsClientCapabilities {
+ version_support: Some(true),
..Default::default()
}),
inlay_hint: Some(lsp::InlayHintClientCapabilities {