HTML syntax highlighting not working on .j2 files.
Azleur opened this issue · 3 comments
Azleur commented
When I first installed the Atom module I changed all my template files from .html to .j2 so that the package would work. Now after updating I find that only Jinja specific commands are highlighted, while the bulk of the html code gets no highlighting.
zlliang commented
You can try to change the files from .j2
to .html.j2
.
Aelexe commented
Alternatively you can remove the j2 and/or jinja2 extension from conf (jinja templates).cson as a temporary fix to save you changing your file extensions.
sapalamut commented
thanx dude!