From 3c9d5d02153ca2d81e2780e1f6daeefc40de2706 Mon Sep 17 00:00:00 2001 From: Pascal Kuthe Date: Sun, 12 Mar 2023 01:00:24 +0100 Subject: discard outdated diagnostics recived by the LS --- helix-lsp/src/client.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'helix-lsp') 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 { -- cgit v1.2.3-70-g09d2