This commit is contained in:
Yasuhiro Matsumoto
2015-11-10 09:38:27 +09:00
parent 136b87a330
commit 603d6e4fcd

View File

@@ -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)