diff --git a/config/src/color.rs b/config/src/color.rs index b020e10ee..054533f89 100644 --- a/config/src/color.rs +++ b/config/src/color.rs @@ -86,9 +86,11 @@ impl From for wezterm_term::color::ColorPalette { } } if let Some(indexed) = cfg.indexed { - for (idx, col) in indexed.iter() - .filter_map(|(k, v)| Some((k.parse::().ok()?, v))) - .filter(|&(k, _)| 15 < k && k < 256) { + for (idx, col) in indexed + .iter() + .filter_map(|(k, v)| Some((k.parse::().ok()?, v))) + .filter(|&(k, _)| 15 < k && k < 256) + { p.colors.0[idx] = *col; } }