Skip to content

Commit

Permalink
Added filetype detection for jinja templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricobl committed Apr 10, 2014
1 parent df4fbfa commit fbb0e6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dotfiles/.vimrc
Expand Up @@ -101,6 +101,7 @@ filetype indent on
" Make all HTML files behave like Django templates
" (vim's auto-detection fails sometimes)
autocmd BufRead,BufNewFile *.html set filetype=html.htmldjango
autocmd BufRead,BufNewFile *.html.* set filetype=html.htmldjango

" Make Sass (scss) files behave like css
autocmd BufRead,BufNewFile *.scss set filetype=scss.css
Expand Down

0 comments on commit fbb0e6d

Please sign in to comment.