oops, fix the regex (clear out everything before matched tags)

This commit is contained in:
Jesse Luehrs
2011-08-10 01:20:40 -05:00
committed by mattn
parent 25ecc2ca99
commit 8f290b913e

View File

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