Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update extension list for HEEx #7220

Merged
merged 2 commits into from
Jan 28, 2025
Merged

Conversation

jonatanklosko
Copy link
Contributor

@jonatanklosko jonatanklosko commented Jan 27, 2025

Updates extensions list for HEEx.

cc @patrickt

Description

I applied the following changes to extensions marked as HTML+EEx:

  • .eex -> .html.eex - technically .eex is a more generic templating syntax and is also used with other files, for example .sh.eex
  • .html.heex -> .heex - contrarily to the above, this extension by definition implies HTML markup (extended). It is common to still use .html.heex files, but semantically .heex should be enough.
  • .html.leex -> .leex - it's .heex predecessor, same applies.
  • added .neex - this is a new variant used for native apps markup, it has a different processing engine, but the sytnax is the same.

For the reference, the TextMate grammar has also been updated with these changes.

lib/linguist/languages.yml Outdated Show resolved Hide resolved
@lildude lildude changed the title Update extension list ofr HEEx Update extension list for HEEx Jan 28, 2025
Copy link
Member

@lildude lildude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

Important

The changes in this PR will not appear on GitHub until the next release has been made and deployed. See here for more details.

@lildude lildude added this pull request to the merge queue Jan 28, 2025
Merged via the queue into github-linguist:main with commit 98b503a Jan 28, 2025
5 checks passed
@jonatanklosko jonatanklosko deleted the jk-heex branch January 28, 2025 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants