1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00

More up-to-date jinja2 plugin, also highlight *.jinja2

This commit is contained in:
2019-02-11 11:39:27 +01:00
parent bf8a2f9a73
commit b41d60f1dd

4
.vimrc
View File

@@ -396,8 +396,8 @@ Plugin 'digitaltoad/vim-pug'
Plugin 'chr4/nginx.vim'
" Highlight jinja templates (e.g., .j2 files) and do proper indenting
Plugin 'lepture/vim-jinja'
au BufNewFile,BufRead *.j2 set ft=jinja
Plugin 'Glench/Vim-Jinja2-Syntax'
au BufNewFile,BufRead *.j2,*.jinja2 set ft=jinja
" Highlight special comments better
"Plugin 'jbgutierrez/vim-better-comments'