Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix tailwind prettier plugin discovery
Kirill Bulatov09ef3ccf6745
diff --git a/crates/prettier/src/prettier.rs b/crates/prettier/src/prettier.rsindex 240ee1e8959..c3811b567b5 100644--- a/crates/prettier/src/prettier.rs+++ b/crates/prettier/src/prettier.rs@@ -283,9 +283,11 @@ impl Prettier {let prettier_plugin_dir = prettier_node_modules.join(plugin_name);for possible_plugin_path in [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("index.mjs"),- prettier_plugin_dir.join("plugin.js"),prettier_plugin_dir.join("index.js"),+ prettier_plugin_dir.join("plugin.js"),prettier_plugin_dir,] {if possible_plugin_path.is_file() {