feat(cli): include language name in dump-languages output
This commit is contained in:
parent
346080aad2
commit
d641249f85
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue