Skip to content

Commit

Permalink
Rename WorkspaceClientCapabilities::diagnostic to the name matching…
Browse files Browse the repository at this point in the history
… the specification, `WorkspaceClientCapabilities::diagnostics`
  • Loading branch information
snowsignal committed Apr 17, 2024
1 parent 3e6daee commit 0f58d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<DiagnosticWorkspaceClientCapabilities>,
pub diagnostics: Option<DiagnosticWorkspaceClientCapabilities>,
}

#[derive(Debug, Eq, PartialEq, Clone, Default, Deserialize, Serialize)]
Expand Down

0 comments on commit 0f58d62

Please sign in to comment.