forked from VimPlug/emmet-vim
Fix guessing filetype
This commit is contained in:
@@ -260,8 +260,8 @@ function! zencoding#getFileType()
|
||||
let type = &ft
|
||||
if zencoding#lang#exists(&ft)
|
||||
let type = &ft
|
||||
else
|
||||
let type = zencoding#getBaseType(type)
|
||||
elseif zencoding#getBaseType(type) != ""
|
||||
let type = &ft
|
||||
endif
|
||||
if type == 'html'
|
||||
let type = synIDattr(synID(line("."), col("."), 1), "name")
|
||||
|
||||
Reference in New Issue
Block a user