-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Group Liquid under HTML #5150
Comments
Sounds reasonable to me. We'd welcome a PR adding the grouping. |
Hold up. This would contradict our changes in #4979, where similar templating languages were removed from the HTML group. If there's a change to be made, it should be to dissociate Nunjucks from |
🤦 Good catch @Alhadis; I completely forgot about that. |
Ah, so it should go the other way, with Nunjucks being ungrouped from HTML instead? Will close this issue and issue a PR for that then. |
* Split Nunjucks into its own language Keep the Django syntax highlight references Color from official docs Related to discussion at #5150 * Tweak Nunjucks colour to be allowed * Revert color change Was looking at old revision * Add generated language ID for Nunjucks * Move Nunjucks sample * Add Nunjucks grammar entry Keep using `python-django.tmbundle` * Switch Nunjucks grammar Now using alohaas/language-nunjucks * Add language-nunjucks grammar to list * Add language-nunjucks license * Add source.nunjucks to list * Fix grammar ordering Co-authored-by: Colin Seymour <colin@github.com> Co-authored-by: John Gardner <gardnerjohng@gmail.com> Co-authored-by: Nixinova <Nixinova@users.noreply.github.com>
Preliminary Steps
Please confirm you have...
Description
Currently Linguist classifies Liquid as its own language. However, extremely similar languages like Nunjucks are classified under a subset of HTML (HTML+Django). Therefore Liquid should also be classified as a subset of HTML, as Liquid and Nunjucks are very, very similar in syntax and it makes no sense for them to be classified in two different ways.
The text was updated successfully, but these errors were encountered: