diff options
| author | David Bernheisel <dbernheisel@users.noreply.github.com> | 2025-05-22 05:36:14 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-22 02:36:14 -0700 |
| commit | 1e4f1a6538a1f8b2af5dafc0667095e6c678d1d4 (patch) | |
| tree | cd59474767f3e374473c07881ef097e7ed474f36 /lsp | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-1e4f1a6538a1f8b2af5dafc0667095e6c678d1d4.tar nvim-lspconfig-1e4f1a6538a1f8b2af5dafc0667095e6c678d1d4.tar.gz nvim-lspconfig-1e4f1a6538a1f8b2af5dafc0667095e6c678d1d4.tar.bz2 nvim-lspconfig-1e4f1a6538a1f8b2af5dafc0667095e6c678d1d4.tar.lz nvim-lspconfig-1e4f1a6538a1f8b2af5dafc0667095e6c678d1d4.tar.xz nvim-lspconfig-1e4f1a6538a1f8b2af5dafc0667095e6c678d1d4.tar.zst nvim-lspconfig-1e4f1a6538a1f8b2af5dafc0667095e6c678d1d4.zip | |
feat(tailwindcss): map elixir and heex ft to phoenix-heex #3854
tailwind-intellisense won't activate unless the filetype is detected
as an HTML-based file. Elixir `.ex` files can have `~H` sigils with
HEEX syntax inside or `~E` sigils with eelixir syntax. It's also typical
to have `.html.heex` files entirely of HEEX syntax. Both of these are
recognized in Elixir's tree-sitter injections.scm
Diffstat (limited to 'lsp')
| -rw-r--r-- | lsp/tailwindcss.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lsp/tailwindcss.lua b/lsp/tailwindcss.lua index 700ddf85..d77716f7 100644 --- a/lsp/tailwindcss.lua +++ b/lsp/tailwindcss.lua @@ -86,9 +86,11 @@ return { }, includeLanguages = { eelixir = 'html-eex', + elixir = 'phoenix-heex', eruby = 'erb', - templ = 'html', + heex = 'phoenix-heex', htmlangular = 'html', + templ = 'html', }, }, }, |
