mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-07 03:04:27 +08:00
oops, fix the regex (clear out everything before matched tags)
This commit is contained in:
@@ -692,7 +692,7 @@ function! zencoding#expandAbbr(mode) range
|
||||
else
|
||||
let part = matchstr(line, '\(\S.*\)$')
|
||||
while part =~ '<.*>'
|
||||
let part = substitute(part, '<.\{-}>', '', '')
|
||||
let part = substitute(part, '^.*<.\{-}>', '', '')
|
||||
endwhile
|
||||
endif
|
||||
let rest = getline('.')[len(line):]
|
||||
|
||||
Reference in New Issue
Block a user