forked from VimPlug/emmet-vim
django template
This commit is contained in:
1 parent
77e480c140
commit
2091f33c82
1 file changed
+2
@@ -595,6 +595,8 @@ endfunction
|
|||||||
function! s:zen_getFileType()
|
function! s:zen_getFileType()
|
||||||
let type = &ft
|
let type = &ft
|
||||||
if type == 'xslt' | let type = 'xsl' | endif
|
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'
|
if synIDattr(synID(line("."), col("."), 1), "name") =~ '^css'
|
||||||
let type = 'css'
|
let type = 'css'
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in new issue
Block a user