Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-lsp-types/src/document_diagnostic.rs')
-rw-r--r--helix-lsp-types/src/document_diagnostic.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-lsp-types/src/document_diagnostic.rs b/helix-lsp-types/src/document_diagnostic.rs
index d2dcc544..8a154751 100644
--- a/helix-lsp-types/src/document_diagnostic.rs
+++ b/helix-lsp-types/src/document_diagnostic.rs
@@ -108,6 +108,7 @@ pub struct DocumentDiagnosticParams {
pub identifier: Option<Arc<str>>,
/// The result ID of a previous response if provided.
+ #[serde(skip_serializing_if = "Option::is_none")]
pub previous_result_id: Option<String>,
#[serde(flatten)]