From 8f290b913edfef9032381f7c71b94db1f16553e9 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 10 Aug 2011 01:20:40 -0500 Subject: [PATCH] oops, fix the regex (clear out everything before matched tags) --- autoload/zencoding.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/zencoding.vim b/autoload/zencoding.vim index 87595c8..4f79b7a 100644 --- a/autoload/zencoding.vim +++ b/autoload/zencoding.vim @@ -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):]