diff options
Diffstat (limited to 'xtask/src/docgen.rs')
-rw-r--r-- | xtask/src/docgen.rs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/xtask/src/docgen.rs b/xtask/src/docgen.rs index 473882f3..034d9918 100644 --- a/xtask/src/docgen.rs +++ b/xtask/src/docgen.rs @@ -96,11 +96,12 @@ pub fn lang_features() -> Result<String, DynError> { ); } row.push( - lc.language_server - .as_ref() - .map(|s| s.command.clone()) - .map(|c| md_mono(&c)) - .unwrap_or_default(), + lc.language_servers + .iter() + .filter_map(|ls| config.language_server.get(&ls.name)) + .map(|s| md_mono(&s.command.clone())) + .collect::<Vec<_>>() + .join(", "), ); md.push_str(&md_table_row(&row)); |