Fix regression with --list-themes and --language

This commit is contained in:
Ethan P 2020-05-16 15:07:43 -07:00 committed by David Peter
parent 798b742617
commit 589c94aa93
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ pub fn list_themes(cfg: &Config) -> Result<()> {
let mut config = cfg.clone();
let mut style = HashSet::new();
style.insert(StyleComponent::Plain);
config.language = Some("Rust");
config.style_components = StyleComponents(style);
let stdout = io::stdout();