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

Activate snippets on files with extension .j2 #3

Open
jraviotta opened this issue Jun 1, 2019 · 0 comments
Open

Activate snippets on files with extension .j2 #3

jraviotta opened this issue Jun 1, 2019 · 0 comments
Labels
good first issue Good for newcomers hacktoberfest Hacktoberfest eligiable

Comments

@jraviotta
Copy link

This library does not recognize that snippets can be inserted in files with the extension .j2. Consequently, one can either have jinja2 syntax highlighting or snippets, but not both. It would be nice if this extension would turn itself on if .j2 appeared anywhere in the file name.
For example:

"mytemplate.txt.j2"
"emails/mytemplate.txt.j2"
"mytemplate.j2.html"
@EndlessTrax EndlessTrax added good first issue Good for newcomers hacktoberfest Hacktoberfest eligiable labels Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest Hacktoberfest eligiable
Projects
None yet
Development

No branches or pull requests

2 participants