Revert "project: Fine-grained language server management" (#23977)
Reverts zed-industries/zed#23805
This commit is contained in:
parent
7adf9cb1a0
commit
399e2c1ed3
28 changed files with 935 additions and 2226 deletions
|
@ -283,13 +283,13 @@ impl Prettier {
|
|||
)
|
||||
.context("prettier server creation")?;
|
||||
|
||||
let initialize_params = None;
|
||||
let configuration = lsp::DidChangeConfigurationParams {
|
||||
settings: Default::default(),
|
||||
};
|
||||
let server = cx
|
||||
.update(|cx| {
|
||||
let params = server.default_initialize_params(cx);
|
||||
let configuration = lsp::DidChangeConfigurationParams {
|
||||
settings: Default::default(),
|
||||
};
|
||||
executor.spawn(server.initialize(params, configuration.into(), cx))
|
||||
executor.spawn(server.initialize(initialize_params, configuration.into(), cx))
|
||||
})?
|
||||
.await
|
||||
.context("prettier server initialization")?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue