From 1ddb42798754974a8118594bd28bdf92bf15f3fa Mon Sep 17 00:00:00 2001 From: mattn Date: Mon, 11 Jun 2012 19:24:55 +0900 Subject: [PATCH] fix detecting eol. --- 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 5a8dc13..684cb84 100644 --- a/autoload/zencoding/lang/html.vim +++ b/autoload/zencoding/lang/html.vim @@ -592,7 +592,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