Fix Tailwind support for HTML/ERB files (#34743)

Closes #27118
Closes #34165

Fix a small issue after we landed
https://github.com/zed-extensions/ruby/pull/113+ where we introduced
`HTML/ERB` and `YAML/ERB` language IDs to improve user experience. Sorry
about that. Thanks!

Release Notes:

- N/A
This commit is contained in:
Vitaly Slobodin 2025-07-19 17:06:35 +02:00 committed by GitHub
parent 2da2ae65a0
commit 0ffd93774c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -273,6 +273,7 @@ pub fn init(languages: Arc<LanguageRegistry>, node: NodeRuntime, cx: &mut App) {
"Astro",
"CSS",
"ERB",
"HTML/ERB",
"HEEX",
"HTML",
"JavaScript",

View file

@ -179,6 +179,7 @@ impl LspAdapter for TailwindLspAdapter {
("Elixir".to_string(), "phoenix-heex".to_string()),
("HEEX".to_string(), "phoenix-heex".to_string()),
("ERB".to_string(), "erb".to_string()),
("HTML/ERB".to_string(), "erb".to_string()),
("PHP".to_string(), "php".to_string()),
("Vue.js".to_string(), "vue".to_string()),
])