1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00

Syntax highlighting for Django templates

This commit is contained in:
Michiel Scholten
2015-01-25 14:41:44 +01:00
parent 454eb8bfbc
commit 2452fc8313

3
.vimrc
View File

@@ -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