Skip to content

Commit

Permalink
🎨 cargo fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Zhang <[email protected]>
  • Loading branch information
zwpaper committed Oct 5, 2022
1 parent 11c5e6d commit 6327ef5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,12 @@ impl Colors {
ThemeOption::Default | ThemeOption::NoLscolors => Some(Theme::default().color),
ThemeOption::Custom(ref file) => {
// TODO: drop the `themes` dir prefix, adding it here only for backwards compatibility
Some(Theme::from_path::<ColorTheme>(Path::new("themes").join(file).to_str().unwrap_or(file)).unwrap_or_default())
Some(
Theme::from_path::<ColorTheme>(
Path::new("themes").join(file).to_str().unwrap_or(file),
)
.unwrap_or_default(),
)
}
};
let lscolors = match t {
Expand Down

0 comments on commit 6327ef5

Please sign in to comment.