django template

This commit is contained in:
mattn
2011-02-23 15:44:33 +09:00
parent 77e480c140
commit 2091f33c82

View File

@@ -595,6 +595,8 @@ endfunction
function! s:zen_getFileType()
let type = &ft
if type == 'xslt' | let type = 'xsl' | endif
if type == 'htmldjango' | let type = 'html' | endif
if type == 'html.django_template' | let type = 'html' | endif
if synIDattr(synID(line("."), col("."), 1), "name") =~ '^css'
let type = 'css'
endif