mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 01:15:10 +01:00
Syntax highlighting for Django templates
This commit is contained in:
3
.vimrc
3
.vimrc
@@ -152,6 +152,9 @@ autocmd FileType python set expandtab
|
|||||||
autocmd FileType python set softtabstop=4
|
autocmd FileType python set softtabstop=4
|
||||||
autocmd FileType python set autoindent
|
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
|
" 2014-01-29 some sane PHP settings
|
||||||
autocmd FileType php set tabstop=4
|
autocmd FileType php set tabstop=4
|
||||||
autocmd FileType php set shiftwidth=4
|
autocmd FileType php set shiftwidth=4
|
||||||
|
|||||||
Reference in New Issue
Block a user