From 2452fc8313cead195089ab64e66b6ee3786db397 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sun, 25 Jan 2015 14:41:44 +0100 Subject: [PATCH] Syntax highlighting for Django templates --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vimrc b/.vimrc index 61192f6..2569dd6 100644 --- a/.vimrc +++ b/.vimrc @@ -152,6 +152,9 @@ autocmd FileType python set expandtab autocmd FileType python set softtabstop=4 autocmd FileType python set autoindent +" Django html template highlighting by default +au BufNewFile,BufRead *.html set filetype=htmldjango + " 2014-01-29 some sane PHP settings autocmd FileType php set tabstop=4 autocmd FileType php set shiftwidth=4