mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Merge pull request #19266 from the-mikedavis/lsp-pull-diagnostics-identifier
Add `identifier` to pull diagnostic LSP capabilities
This commit is contained in:
commit
81ff38f53b
@ -165,7 +165,7 @@ pub fn server_capabilities(config: &Config) -> ServerCapabilities {
|
|||||||
})),
|
})),
|
||||||
diagnostic_provider: Some(lsp_types::DiagnosticServerCapabilities::Options(
|
diagnostic_provider: Some(lsp_types::DiagnosticServerCapabilities::Options(
|
||||||
lsp_types::DiagnosticOptions {
|
lsp_types::DiagnosticOptions {
|
||||||
identifier: None,
|
identifier: Some("rust-analyzer".to_owned()),
|
||||||
inter_file_dependencies: true,
|
inter_file_dependencies: true,
|
||||||
// FIXME
|
// FIXME
|
||||||
workspace_diagnostics: false,
|
workspace_diagnostics: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user