Open moonburnt opened 3 years ago
Just formally micro has syntax highlighting for it https://github.com/zyedidia/micro/blob/master/runtime/syntax/jinja2.yaml
And it can be resolved by adding there:
detect:
filename: "(\\.jinja$|\\.j2$)"
At least I think it should work
Description of the problem or steps to reproduce
Jinja documentation recommends adding .jinja extension to its templates (e.g instead of template.html, file would be template.html.jinja). And previously .j2 was used for the same purpose. However, after doing any of these, micro loses ability to highlight syntax in related files
Specifications
Commit hash: 6bc498e6 OS: Manjaro Linux Terminal: rxvt-unicode