Better pass prettier options

This commit is contained in:
Kirill Bulatov 2023-09-18 18:08:55 +03:00
parent e2056756ef
commit 2a5b9b635b
11 changed files with 55 additions and 34 deletions

View file

@ -148,7 +148,7 @@ impl LspAdapter for JsonLspAdapter {
}
fn enabled_formatters(&self) -> Vec<BundledFormatter> {
vec![BundledFormatter::prettier()]
vec![BundledFormatter::prettier("json")]
}
}