Fix emmet#isExpandable()

Fixes #458
This commit is contained in:
Yasuhiro Matsumoto
2019-05-23 18:52:17 +09:00
parent 758421535f
commit b7cc3a743f

View File

@@ -115,7 +115,7 @@ function! emmet#isExpandable() abort
let part = matchstr(line, '\(\S.*\)$')
let type = emmet#getFileType()
let rtype = emmet#lang#type(type)
let part = emmet#lang#{ftype}#findTokens(part)
let part = emmet#lang#{rtype}#findTokens(part)
return len(part) > 0
endfunction