gleam: Add /gleam-docs (#13721)

This PR adds a `/gleam-docs` slash command to the Gleam extension, which
can be used to fetch docs from HexDocs.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2024-07-01 17:58:21 -04:00
committed by GitHub
parent 0eb26d29ee
commit ecd9422d11
4 changed files with 71 additions and 4 deletions
Generated
+15 -2
View File
@@ -388,7 +388,7 @@ dependencies = [
"fuzzy",
"gpui",
"heed",
"html_to_markdown",
"html_to_markdown 0.1.0",
"http 0.1.0",
"indoc",
"language",
@@ -5237,6 +5237,18 @@ dependencies = [
"regex",
]
[[package]]
name = "html_to_markdown"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e608e8dd0939bfb6b516d96a5919751b835297a02230aecb88d2fc84ebebaa8a"
dependencies = [
"anyhow",
"html5ever",
"markup5ever_rcdom",
"regex",
]
[[package]]
name = "http"
version = "0.1.0"
@@ -9019,7 +9031,7 @@ dependencies = [
"fuzzy",
"gpui",
"heed",
"html_to_markdown",
"html_to_markdown 0.1.0",
"http 0.1.0",
"indexmap 1.9.3",
"indoc",
@@ -13779,6 +13791,7 @@ dependencies = [
name = "zed_gleam"
version = "0.1.3"
dependencies = [
"html_to_markdown 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"zed_extension_api 0.0.7",
]