From 11af392af391c6069f522e358979ab3d5ebf9b4a Mon Sep 17 00:00:00 2001 From: mattn Date: Sun, 3 Jun 2012 00:31:17 +0900 Subject: [PATCH] avoid to move to |. --- autoload/zencoding/lang/html.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/zencoding/lang/html.vim b/autoload/zencoding/lang/html.vim index 81acc7b..c796cad 100644 --- a/autoload/zencoding/lang/html.vim +++ b/autoload/zencoding/lang/html.vim @@ -583,7 +583,7 @@ function! zencoding#lang#html#balanceTag(flag) range endfunction function! zencoding#lang#html#moveNextPrev(flag) - let pos = search('><\/\|\(""\)\|^\s*$', a:flag ? 'Wpb' : 'Wp') + let pos = search('\%(<\/\|\(""\)\|^\s*$', a:flag ? 'Wpb' : 'Wp') if pos == 3 startinsert! elseif pos != 0