forked from VimPlug/emmet-vim
django template
This commit is contained in:
@@ -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