Skip to content

Commit dbdc14f

Browse files
authored
Support elixir and phoenix heex files in neovim (#1450)
In neovim, the newer Phoenix HTML templates are [identified as `heex` files](https://github.com/neovim/neovim/blob/2b421d518faec9e1b0a6d1c46026d2f13f4fb73f/runtime/lua/vim/filetype.lua#L571). Additionally, there can be HTML code within `.ex` files (via `~H""`), which both neovim and VSCode identify as `elixir`.
1 parent 22cafcf commit dbdc14f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/tailwindcss-language-service/src/util/languages.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ export const htmlLanguages: string[] = [
88
'django-html',
99
'edge',
1010
'ejs',
11+
'elixir',
1112
'erb',
1213
'gohtml',
1314
'GoHTML',
1415
'gohtmltmpl',
1516
'haml',
1617
'handlebars',
1718
'hbs',
19+
'heex',
1820
'html',
1921
'HTML (Eex)',
2022
'HTML (EEx)',

0 commit comments

Comments
 (0)