mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 10:44:24 +08:00
Check bundled type at the first
This commit is contained in:
@@ -258,9 +258,10 @@ endfunction
|
||||
|
||||
function! zencoding#getFileType()
|
||||
let type = &ft
|
||||
let type = zencoding#getBaseType(type)
|
||||
if len(type) == 0 && zencoding#lang#exists(&ft)
|
||||
if zencoding#lang#exists(&ft)
|
||||
let type = &ft
|
||||
else
|
||||
let type = zencoding#getBaseType(type)
|
||||
endif
|
||||
if type == 'html'
|
||||
let type = synIDattr(synID(line("."), col("."), 1), "name")
|
||||
|
||||
Reference in New Issue
Block a user