tailwind: Add HTML+ERB to the list of supported languages (#36797)
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 Co-authored-by: Marshall Bowers <git@maxdeviant.com>
This commit is contained in:
@@ -296,6 +296,7 @@ pub fn init(languages: Arc<LanguageRegistry>, node: NodeRuntime, cx: &mut App) {
|
||||
"Astro",
|
||||
"CSS",
|
||||
"ERB",
|
||||
"HTML+ERB",
|
||||
"HTML/ERB",
|
||||
"HEEX",
|
||||
"HTML",
|
||||
|
||||
@@ -184,6 +184,7 @@ impl LspAdapter for TailwindLspAdapter {
|
||||
(LanguageName::new("Elixir"), "phoenix-heex".to_string()),
|
||||
(LanguageName::new("HEEX"), "phoenix-heex".to_string()),
|
||||
(LanguageName::new("ERB"), "erb".to_string()),
|
||||
(LanguageName::new("HTML+ERB"), "erb".to_string()),
|
||||
(LanguageName::new("HTML/ERB"), "erb".to_string()),
|
||||
(LanguageName::new("PHP"), "php".to_string()),
|
||||
(LanguageName::new("Vue.js"), "vue".to_string()),
|
||||
|
||||
Reference in New Issue
Block a user