mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-07 11:14:26 +08:00
find begining of tokens.
This commit is contained in:
@@ -343,7 +343,8 @@ function! zencoding#expandAbbr(mode) range
|
||||
while part =~ '<.\{-}>'
|
||||
let part = substitute(part, '^.*<.\{-}>', '', '')
|
||||
endwhile
|
||||
let part = substitute(part, '^.*\s', '', '')
|
||||
let rtype = len(globpath(&rtp, 'autoload/zencoding/'.type.'.vim')) ? type : 'html'
|
||||
let part = zencoding#{rtype}#findTokens(part)
|
||||
elseif zencoding#isExtends(type, "css")
|
||||
let part = substitute(part, '^.*[;{]\s*', '', '')
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user