1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-07 03:35:10 +01:00

Also recognise .j2 files as jinja2 templates

This commit is contained in:
2018-05-30 14:42:05 +02:00
parent 81ab5c7c4d
commit 2244cb0271

3
.vimrc
View File

@@ -366,8 +366,9 @@ Plugin 'digitaltoad/vim-pug'
" Highlight nginx " Highlight nginx
Plugin 'chr4/nginx.vim' Plugin 'chr4/nginx.vim'
" Highlight jinja templates " Highlight jinja templates (e.g., .j2 files) and do proper indenting
Plugin 'lepture/vim-jinja' Plugin 'lepture/vim-jinja'
au BufNewFile,BufRead *.j2 set ft=jinja
" CSV filetype plugin " CSV filetype plugin
"Plugin 'chrisbra/csv.vim' " apparently doesn't work this way ;) "Plugin 'chrisbra/csv.vim' " apparently doesn't work this way ;)