Skip to content

Commit

Permalink
fix: wrong additional dprint config
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane committed Aug 13, 2024
1 parent d626d77 commit 67367e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dprint_plugin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ pub fn build_additional_config(hints: Hints, config: &FormatOptions) -> ConfigKe
additional_config.insert("quoteStyle".into(), "alwaysDouble".into());
}
}
}
if hints.ext == "css" {
additional_config.insert("singleLineTopLevelDeclarations".into(), true.into());
if hints.ext == "css" {
additional_config.insert("singleLineTopLevelDeclarations".into(), true.into());
}
}

additional_config
Expand Down

0 comments on commit 67367e9

Please sign in to comment.