Hi! As part of https://github.com/zed-extensions/ruby/issues/162 we would like to rename HTML/ERB to HTML+ERB since it is more syntactically correct to treat such language as ERB on top of HTML rather than HTML or ERB. To keep the user experience intact, we outlined the prerequisites in the linked issue. This is the first PR that adds the HTML+ERB language name to the list of enabled languages for the Emmet extension. We will do the same for the Tailwind configuration in the Zed codebase. Once the new versions of Emmet and Zed are released, we will merge the pull request in the Ruby extension repository and release the updated version. After that, we will remove the old HTML/ERB and YAML/ERB languages. Let me know if that sounds good. Thanks! Release Notes: - N/A
Unified · Split
| @@ -296,6 +296,7 @@ pub fn init(languages: Arc<LanguageRegistry>, node: NodeRuntime, cx: &mut App) { · 295 unmodified lines | |||
| 296 | "Astro", | 296 | "Astro", |
| 297 | "CSS", | 297 | "CSS", |
| 298 | "ERB", | 298 | "ERB", |
| 299 | "HTML+ERB", | ||
| 299 | "HTML/ERB", | 300 | "HTML/ERB", |
| 300 | "HEEX", | 301 | "HEEX", |
| 301 | "HTML", | 302 | "HTML", |
| @@ -184,6 +184,7 @@ impl LspAdapter for TailwindLspAdapter { · 183 unmodified lines | |||
| 184 | (LanguageName::new("Elixir"), "phoenix-heex".to_string()), | 184 | (LanguageName::new("Elixir"), "phoenix-heex".to_string()), |
| 185 | (LanguageName::new("HEEX"), "phoenix-heex".to_string()), | 185 | (LanguageName::new("HEEX"), "phoenix-heex".to_string()), |
| 186 | (LanguageName::new("ERB"), "erb".to_string()), | 186 | (LanguageName::new("ERB"), "erb".to_string()), |
| 187 | (LanguageName::new("HTML+ERB"), "erb".to_string()), | ||
| 187 | (LanguageName::new("HTML/ERB"), "erb".to_string()), | 188 | (LanguageName::new("HTML/ERB"), "erb".to_string()), |
| 188 | (LanguageName::new("PHP"), "php".to_string()), | 189 | (LanguageName::new("PHP"), "php".to_string()), |
| 189 | (LanguageName::new("Vue.js"), "vue".to_string()), | 190 | (LanguageName::new("Vue.js"), "vue".to_string()), |