emmetio / sublime-text-plugin

The essential toolkit for web-developers
https://emmet.io
MIT License
253 stars 29 forks source link

Enable Emmet in Elixir's EEx and HEEx templates #184

Open distefam opened 1 year ago

distefam commented 1 year ago

Would it be possible to add support for Elixir files with embedded HTML? They are supported in VSCode using Emmet so it should be possible I think.

sergeche commented 1 year ago

I think you can add support via preferences by passing proper scope selectors for your syntax. You should check syntax_scopes and abbreviation_scopes options.

distefam commented 1 year ago

You are correct, thank you. I was able to append "source.elixir text.html.heex", to the abbreviation_scopes list.