elixir-editors / elixir-tmbundle

A TextMate and Sublime Text Bundle for the Elixir programming language
https://elixir-lang.org/
Other
263 stars 61 forks source link

Add syntax support for Phoenix LiveView templates #177

Closed zwippie closed 5 years ago

zwippie commented 5 years ago

It would be nice to have syntax support for .html.leex files, the file extension used by Phoenix LiveView templates.

It's the same syntax as regular HTML (EEx) files, so the solution would be a one-liner in /Syntaxes/HTML (EEx).tmLanguage by adding <string>html.leex</string> to the fileTypes array.

I can make a PR if you want.

josevalim commented 5 years ago

Yess, PR please!