Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

gleam: Include a package name suffix for docs entries (#13798)

Marshall Bowers6d10b16f79be
diff --git a/extensions/gleam/src/hexdocs.rs b/extensions/gleam/src/hexdocs.rs
index cc21746934c..26198fc5d16 100644
--- a/extensions/gleam/src/hexdocs.rs
+++ b/extensions/gleam/src/hexdocs.rs
@@ -28,7 +28,7 @@ pub fn index(package: String, database: &KeyValueStore) -> Result<()> {
let (markdown, _modules) = convert_hexdocs_to_markdown(response.body.as_bytes())?;
- database.insert(&module, &markdown)?;
+ database.insert(&format!("{module} ({package})"), &markdown)?;
}
Ok(())