Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Always install default prettier

Kirill Bulatov465e53ef41d6
diff --git a/crates/project/src/prettier_support.rs b/crates/project/src/prettier_support.rs
index 04e56d2b8ae..de256192b41 100644
--- a/crates/project/src/prettier_support.rs
+++ b/crates/project/src/prettier_support.rs
@@ -671,11 +671,7 @@ impl Project {
.map_err(Arc::new)?
{
ControlFlow::Break(()) => return Ok(()),
- ControlFlow::Continue(Some(_non_default_prettier)) => {
- save_prettier_server_file(fs.as_ref()).await?;
- return Ok(());
- }
- ControlFlow::Continue(None) => {
+ ControlFlow::Continue(_) => {
let mut needs_install = match previous_installation_task {
Some(previous_installation_task) => {
match previous_installation_task.await {