@@ -80,7 +80,7 @@ fn get_syntax_mapping_to_paths<'a>(
8080pub fn get_languages(config: &Config) -> Result<String> {
8181 let mut result: String = String::new();
8282
83− let assets = assets_from_cache_or_binary()?;
83+ let assets = assets_from_cache_or_binary(config.use_custom_assets)?;
8484 let mut languages = assets
8585 .get_syntaxes()?
8686 .iter()
@@ -178,7 +178,7 @@ fn theme_preview_file<'a>() -> Input<'a> {
178178}
179179
180180pub fn list_themes(cfg: &Config) -> Result<()> {
181− let assets = assets_from_cache_or_binary()?;
181+ let assets = assets_from_cache_or_binary(cfg.use_custom_assets)?;
182182 let mut config = cfg.clone();
183183 let mut style = HashSet::new();
184184 style.insert(StyleComponent::Plain);
@@ -219,7 +219,7 @@ pub fn list_themes(cfg: &Config) -> Result<()> {
219219}
220220
221221fn run_controller(inputs: Vec<Input>, config: &Config) -> Result<bool> {
222− let assets = assets_from_cache_or_binary()?;
222+ let assets = assets_from_cache_or_binary(config.use_custom_assets)?;
223223 let controller = Controller::new(&config, &assets);
224224 controller.run(inputs)
225225}