mirror of
https://codeberg.org/diginaut/dotfiles.git
synced 2026-02-04 11:10:26 +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