Skip to content

Commit d7e0a16

Browse files
committed
Add jinja syntax highlighting + ft association.
1 parent e9e941c commit d7e0a16

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dotfiles/vimrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Plug 'jmcantrell/vim-virtualenv'
7373
Plug 'arcticicestudio/nord-vim'
7474

7575
Plug 'nightsense/snow'
76+
Plug 'lepture/vim-jinja'
7677

7778
" Plug 'eiginn/netrw'
7879
" Plug 'jelera/vim-javascript-syntax'
@@ -172,6 +173,7 @@ au BufNewFile,BufRead *.conf set filetype=conf
172173
au BufNewFile,BufRead *.template set filetype=html
173174
au BufNewFile,BufRead nginx.conf set filetype=nginx
174175
au BufNewFile,BufRead *.m set filetype=octave
176+
au BufNewFile,BufRead *.njk set ft=jinja
175177

176178
" Do not show the '.orig' or '~' files
177179
let NERDTreeIgnore=['\~$', '.*\.orig$', '.*\.pyc$']

0 commit comments

Comments
 (0)