forked from VimPlug/emmet-vim
fix bug
This commit is contained in:
@@ -377,7 +377,7 @@ function! emmet#getFileType(...) abort
|
|||||||
if has_key(s:emmet_settings, &filetype)
|
if has_key(s:emmet_settings, &filetype)
|
||||||
let types = [&filetype]
|
let types = [&filetype]
|
||||||
else
|
else
|
||||||
let types = split(a:type, '\.')
|
let types = split(&filetype, '\.')
|
||||||
endif
|
endif
|
||||||
for part in types
|
for part in types
|
||||||
if emmet#lang#exists(part)
|
if emmet#lang#exists(part)
|
||||||
|
|||||||
Reference in New Issue
Block a user