diff --git a/src/main.rs b/src/main.rs index 7b30c9dd..5081eec0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -139,7 +139,7 @@ pub fn list_themes(assets: &HighlightingAssets, cfg: &Config) { config.files = vec![Some("assets/theme_preview.rs")]; config.output_components = OutputComponents(style); for (theme, _) in themes.iter() { - println!("{}\n", Style::new().bold().paint(theme)); + println!("{}\n", Style::new().bold().paint(theme.to_string())); config.theme = theme.to_string(); let _controller = Controller::new(&config, &assets).run(); println!("--------------------------------\n");