Make LspAdapter::process_diagnostics
optional
This commit is contained in:
parent
d4da5135f4
commit
8ca0127658
5 changed files with 2 additions and 9 deletions
|
@ -120,8 +120,6 @@ impl LspAdapter for JsonLspAdapter {
|
|||
.boxed()
|
||||
}
|
||||
|
||||
fn process_diagnostics(&self, _: &mut lsp::PublishDiagnosticsParams) {}
|
||||
|
||||
fn initialization_options(&self) -> Option<serde_json::Value> {
|
||||
Some(json!({
|
||||
"provideFormatter": true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue