From ec5884b1d0e58dd4727530a4f7e8a30c21b713c1 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 4 Mar 2019 09:52:59 +0100 Subject: Add jinja support, closes #269 --- ftdetect/polyglot.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index c61fa086..ef4d4d03 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -67,6 +67,10 @@ augroup filetypedetect " swift autocmd BufNewFile,BufRead *.swift set filetype=swift + + + "jinja + autocmd BufNewFile,BufRead *.jinja2,*.j2,*.jinja,*.nunjucks,*.nunjs,*.njk set ft=jinja augroup END " Fix for https://github.com/sheerun/vim-polyglot/issues/236#issuecomment-387984954 -- cgit v1.2.3