diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-04 09:52:59 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-04 09:52:59 +0100 |
commit | ec5884b1d0e58dd4727530a4f7e8a30c21b713c1 (patch) | |
tree | 3a522dab0386be900fd008f43354e433b7ced111 /ftdetect | |
parent | 92f779dc7768d3963ec99d9cece7a17983e13d4c (diff) | |
download | vim-polyglot-ec5884b1d0e58dd4727530a4f7e8a30c21b713c1.tar.gz vim-polyglot-ec5884b1d0e58dd4727530a4f7e8a30c21b713c1.zip |
Add jinja support, closes #269
Diffstat (limited to '')
-rw-r--r-- | ftdetect/polyglot.vim | 4 |
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 |