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:
parent
234a4f86ba
commit
1c95a2ccee
2 changed files with 2 additions and 0 deletions
|
@ -273,6 +273,7 @@ pub fn init(languages: Arc<LanguageRegistry>, node: NodeRuntime, cx: &mut App) {
|
|||
"Astro",
|
||||
"CSS",
|
||||
"ERB",
|
||||
"HTML/ERB",
|
||||
"HEEX",
|
||||
"HTML",
|
||||
"JavaScript",
|
||||
|
|
|
@ -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()),
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue