Skip to content

Commit 81ff38f

Browse files
authored
Merge pull request #19266 from the-mikedavis/lsp-pull-diagnostics-identifier
Add `identifier` to pull diagnostic LSP capabilities
2 parents 0834d7c + c9fdc48 commit 81ff38f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: crates/rust-analyzer/src/lsp/capabilities.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ pub fn server_capabilities(config: &Config) -> ServerCapabilities {
165165
})),
166166
diagnostic_provider: Some(lsp_types::DiagnosticServerCapabilities::Options(
167167
lsp_types::DiagnosticOptions {
168-
identifier: None,
168+
identifier: Some("rust-analyzer".to_owned()),
169169
inter_file_dependencies: true,
170170
// FIXME
171171
workspace_diagnostics: false,

0 commit comments

Comments
 (0)