mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 03:35:10 +01:00
More up-to-date jinja2 plugin, also highlight *.jinja2
This commit is contained in:
4
.vimrc
4
.vimrc
@@ -396,8 +396,8 @@ Plugin 'digitaltoad/vim-pug'
|
|||||||
Plugin 'chr4/nginx.vim'
|
Plugin 'chr4/nginx.vim'
|
||||||
|
|
||||||
" Highlight jinja templates (e.g., .j2 files) and do proper indenting
|
" Highlight jinja templates (e.g., .j2 files) and do proper indenting
|
||||||
Plugin 'lepture/vim-jinja'
|
Plugin 'Glench/Vim-Jinja2-Syntax'
|
||||||
au BufNewFile,BufRead *.j2 set ft=jinja
|
au BufNewFile,BufRead *.j2,*.jinja2 set ft=jinja
|
||||||
|
|
||||||
" Highlight special comments better
|
" Highlight special comments better
|
||||||
"Plugin 'jbgutierrez/vim-better-comments'
|
"Plugin 'jbgutierrez/vim-better-comments'
|
||||||
|
|||||||
Reference in New Issue
Block a user