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