diff --git a/xtask/src/docgen.rs b/xtask/src/docgen.rs index d360b4bdd..034d9918e 100644 --- a/xtask/src/docgen.rs +++ b/xtask/src/docgen.rs @@ -97,8 +97,8 @@ pub fn lang_features() -> Result { } row.push( lc.language_servers - .keys() - .filter_map(|ls| config.language_server.get(ls)) + .iter() + .filter_map(|ls| config.language_server.get(&ls.name)) .map(|s| md_mono(&s.command.clone())) .collect::>() .join(", "),