Merge pull request #19266 from the-mikedavis/lsp-pull-diagnostics-identifier

Add `identifier` to pull diagnostic LSP capabilities
This commit is contained in:
Laurențiu Nicola 2025-03-02 14:51:59 +00:00 committed by GitHub
commit a43a5f9aef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -165,7 +165,7 @@ pub fn server_capabilities(config: &Config) -> ServerCapabilities {
})),
diagnostic_provider: Some(lsp_types::DiagnosticServerCapabilities::Options(
lsp_types::DiagnosticOptions {
identifier: None,
identifier: Some("rust-analyzer".to_owned()),
inter_file_dependencies: true,
// FIXME
workspace_diagnostics: false,