summaryrefslogtreecommitdiffstats
path: root/ftdetect/polyglot.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r--ftdetect/polyglot.vim4
1 files changed, 4 insertions, 0 deletions
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