mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 02:25:11 +01:00
Also recognise .j2 files as jinja2 templates
This commit is contained in:
3
.vimrc
3
.vimrc
@@ -366,8 +366,9 @@ Plugin 'digitaltoad/vim-pug'
|
||||
" Highlight nginx
|
||||
Plugin 'chr4/nginx.vim'
|
||||
|
||||
" Highlight jinja templates
|
||||
" Highlight jinja templates (e.g., .j2 files) and do proper indenting
|
||||
Plugin 'lepture/vim-jinja'
|
||||
au BufNewFile,BufRead *.j2 set ft=jinja
|
||||
|
||||
" CSV filetype plugin
|
||||
"Plugin 'chrisbra/csv.vim' " apparently doesn't work this way ;)
|
||||
|
||||
Reference in New Issue
Block a user