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.

Add more common Prettier plugin base paths (#20758)

SweetPPro21c785ede443
diff --git a/crates/prettier/src/prettier.rs b/crates/prettier/src/prettier.rs
index 3a3b88cba14..92db62e6c6a 100644
--- a/crates/prettier/src/prettier.rs
+++ b/crates/prettier/src/prettier.rs
@@ -225,6 +225,8 @@ impl Prettier {
prettier_plugin_dir.join("dist").join("index.mjs"),
prettier_plugin_dir.join("dist").join("index.js"),
prettier_plugin_dir.join("dist").join("plugin.js"),
+ prettier_plugin_dir.join("src").join("plugin.js"),
+ prettier_plugin_dir.join("lib").join("index.js"),
prettier_plugin_dir.join("index.mjs"),
prettier_plugin_dir.join("index.js"),
prettier_plugin_dir.join("plugin.js"),