aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/docgen.rs11
1 files changed, 6 insertions, 5 deletions
diff --git a/xtask/src/docgen.rs b/xtask/src/docgen.rs
index 473882f3..3bd0592e 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));