alohaas / language-nunjucks

Syntax highlighting for nunjucks templates in atom.
MIT License
42 stars 13 forks source link

add *.njs file extension #10

Closed dkebler closed 8 years ago

dkebler commented 8 years ago

could do my own fork but wondering if you could add njs file extension as well. I never liked the longish .nunjucks and use .njs.

I assume it's as easy as adding to this file? https://github.com/alohaas/language-nunjucks/blob/master/grammars/html%20%28nunjucks%20templates%29.cson

Shouldn't be a conflict with anything standard.
https://en.wikipedia.org/wiki/List_of_filename_extensions_%28M%E2%80%93R%29#N

dkebler commented 8 years ago

Yup, That was where to add the extension.
PR here does it #11