From deeca32153f3f6ba7a2096f87749373e83a75017 Mon Sep 17 00:00:00 2001 From: mattn Date: Mon, 15 Mar 2010 13:33:27 +0900 Subject: [PATCH] oops. --- zencoding.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zencoding.vim b/zencoding.vim index 42377b8..3bba919 100644 --- a/zencoding.vim +++ b/zencoding.vim @@ -1608,7 +1608,7 @@ function! s:zen_balanceTag(flag) while 1 let pos = getpos('.') let mx = '<\(/\{0,1}[a-zA-Z][a-zA-Z0-9]*\)[^>]*>' - let pos1 = searchpos(mx, 'bnW') + let pos1 = searchpos(mx, 'bcnW') let content = matchstr(getline(pos1[0])[pos1[1]-1:], mx) let tag_name = substitute(content, '^<\(/\{0,1}[a-zA-Z0-9]*\).*$', '\1', '') let block = [pos1, [pos1[0], pos1[1] + len(content) - 1]]