feat(cli): include language name in dump-languages output

This commit is contained in:
Will Lillis 2025-07-27 00:12:37 -04:00
parent 346080aad2
commit d641249f85

View file

@ -1791,6 +1791,7 @@ impl DumpLanguages {
for (configuration, language_path) in loader.get_all_language_configurations() {
println!(
concat!(
"name: {}\n",
"scope: {}\n",
"parser: {:?}\n",
"highlights: {:?}\n",
@ -1798,6 +1799,7 @@ impl DumpLanguages {
"content_regex: {:?}\n",
"injection_regex: {:?}\n",
),
configuration.language_name,
configuration.scope.as_ref().unwrap_or(&String::new()),
language_path,
configuration.highlights_filenames,