Open mrself opened 8 years ago
Yes, I'm currently working with adonisjs which produce view templates with .njk extension. Adding this support will be very helpful.
I edited https://github.com/andres-risso/sublime-nunjucks cloned repo (which is works with ST3) to include .njk
file support for myself: https://github.com/DJviolin/sublime-nunjucks
Feel free to use it if you want.
@DJviolin I am getting an error downloading your package when I open sublime:
Error loading syntax file "Packages/Nunjucks Syntax/Nunjucks.tmLanguage": Wrong type for key begin expected string
Sorry, I'm not maintaining anymore with latest Sublime text versions. I switched to VS Code long ago.
Okay cool, vs code has njk highlighting? heard a lot of good things..
Off topic, but yeah, It's great. Much more solid then Atom and doesn't have any performance issues (this kept me to use Sublime when I started with Atom).
I use this extension for Nunjucks: https://marketplace.visualstudio.com/items?itemName=ronnidc.nunjucks
It's based on this extension.
Nunjucks official docs