From 0f58d628799182647f688908ba752a33f854fb3a Mon Sep 17 00:00:00 2001 From: Jane Lewis Date: Tue, 16 Apr 2024 18:36:37 -0700 Subject: [PATCH] Rename `WorkspaceClientCapabilities::diagnostic` to the name matching the specification, `WorkspaceClientCapabilities::diagnostics` --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index e38fae2..f0f2518 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1360,7 +1360,7 @@ pub struct WorkspaceClientCapabilities { /// Client workspace capabilities specific to diagnostics. /// since 3.17.0 #[serde(skip_serializing_if = "Option::is_none")] - pub diagnostic: Option, + pub diagnostics: Option, } #[derive(Debug, Eq, PartialEq, Clone, Default, Deserialize, Serialize)]