Glench / Vim-Jinja2-Syntax

An up-to-date jinja2 syntax file.
https://github.com/mitsuhiko/jinja2
BSD 3-Clause "New" or "Revised" License
343 stars 64 forks source link

Added .njk #14

Closed niftylettuce closed 5 years ago

RomainLanz commented 7 years ago

Hi.

Can you merged this @Glench?

itamarro commented 5 years ago

I can create a PR simply adding .njk to ftdetect/jinja.vim if you like.

-autocmd BufNewFile,BufRead *.html,*.htm,*.nunjucks,*.nunjs  call s:SelectHTML()
+autocmd BufNewFile,BufRead *.html,*.htm,*.nunjucks,*.nunjs,*.njk  call s:SelectHTML()
Glench commented 5 years ago

fixed in #18