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

This commit is contained in:
Jesse Luehrs authored and mattn committed 2011-09-22 15:11:44 +09:00
1 parent 25ecc2ca99
commit 8f290b913e
1 file changed
+1 -1
+1 -1
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):]