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.

Add Tailwind CSS support for Gleam (#43968)

Arjun Bajaj19aba43f3ec8
diff --git a/crates/languages/src/tailwind.rs b/crates/languages/src/tailwind.rs
index 16969246443..b0b9132a9ac 100644
--- a/crates/languages/src/tailwind.rs
+++ b/crates/languages/src/tailwind.rs
@@ -176,6 +176,7 @@ impl LspAdapter for TailwindLspAdapter {
HashMap::from_iter([
(LanguageName::new("Astro"), "astro".to_string()),
(LanguageName::new("HTML"), "html".to_string()),
+ (LanguageName::new("Gleam"), "html".to_string()),
(LanguageName::new("CSS"), "css".to_string()),
(LanguageName::new("JavaScript"), "javascript".to_string()),
(LanguageName::new("TypeScript"), "typescript".to_string()),
diff --git a/docs/src/languages/tailwindcss.md b/docs/src/languages/tailwindcss.md
index ff20d097e45..be9c9437d13 100644
--- a/docs/src/languages/tailwindcss.md
+++ b/docs/src/languages/tailwindcss.md
@@ -28,6 +28,7 @@ Languages which can be used with Tailwind CSS in Zed:
- [Astro](./astro.md)
- [CSS](./css.md)
- [ERB](./ruby.md)
+- [Gleam](./gleam.md)
- [HEEx](./elixir.md#heex)
- [HTML](./html.md)
- [TypeScript](./typescript.md)