emmet: Fix expansion for HEEx and H sigil files (#32208)

Closes #14149

Release Notes:

- Added support for the Emmet LSP in Elixir heex files
This commit is contained in:
Conrad Taylor 2025-06-30 09:45:10 -07:00 committed by GitHub
parent ce164f5e65
commit 7c4da37322
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

2
Cargo.lock generated
View file

@ -20086,7 +20086,7 @@ dependencies = [
[[package]] [[package]]
name = "zed_emmet" name = "zed_emmet"
version = "0.0.3" version = "0.0.4"
dependencies = [ dependencies = [
"zed_extension_api 0.1.0", "zed_extension_api 0.1.0",
] ]

View file

@ -1,7 +1,7 @@
id = "emmet" id = "emmet"
name = "Emmet" name = "Emmet"
description = "Emmet support" description = "Emmet support"
version = "0.0.3" version = "0.0.4"
schema_version = 1 schema_version = 1
authors = ["Piotr Osiewicz <piotr@zed.dev>"] authors = ["Piotr Osiewicz <piotr@zed.dev>"]
repository = "https://github.com/zed-industries/zed" repository = "https://github.com/zed-industries/zed"
@ -9,7 +9,7 @@ repository = "https://github.com/zed-industries/zed"
[language_servers.emmet-language-server] [language_servers.emmet-language-server]
name = "Emmet Language Server" name = "Emmet Language Server"
language = "HTML" language = "HTML"
languages = ["HTML", "PHP", "ERB", "JavaScript", "TSX", "CSS"] languages = ["HTML", "PHP", "ERB", "JavaScript", "TSX", "CSS", "HEEX", "Elixir"]
[language_servers.emmet-language-server.language_ids] [language_servers.emmet-language-server.language_ids]
"HTML" = "html" "HTML" = "html"
@ -18,3 +18,5 @@ languages = ["HTML", "PHP", "ERB", "JavaScript", "TSX", "CSS"]
"JavaScript" = "javascriptreact" "JavaScript" = "javascriptreact"
"TSX" = "typescriptreact" "TSX" = "typescriptreact"
"CSS" = "css" "CSS" = "css"
"HEEX" = "heex"
"Elixir" = "heex"