Better pass prettier options
This commit is contained in:
parent
e2056756ef
commit
2a5b9b635b
11 changed files with 55 additions and 34 deletions
|
@ -8323,7 +8323,7 @@ impl Project {
|
|||
.flat_map(|adapter| adapter.enabled_formatters())
|
||||
{
|
||||
match formatter {
|
||||
BundledFormatter::Prettier { plugin_names } => prettier_plugins
|
||||
BundledFormatter::Prettier { plugin_names, .. } => prettier_plugins
|
||||
.get_or_insert_with(|| HashSet::default())
|
||||
.extend(plugin_names),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue