fix detecting eol.

This commit is contained in:
mattn
2012-06-11 19:24:55 +09:00
parent d19b2b4fcd
commit 1ddb427987

View File

@@ -592,7 +592,7 @@ function! zencoding#lang#html#balanceTag(flag) range
endfunction
function! zencoding#lang#html#moveNextPrev(flag)
let pos = search('\%(</\w\+\)\@<!\zs><\/\|\(""\)\|^\s*$', a:flag ? 'Wpb' : 'Wp')
let pos = search('\%(</\w\+\)\@<!\zs><\/\|\(""\)\|^\(\s*\)$', a:flag ? 'Wpb' : 'Wp')
if pos == 3
startinsert!
elseif pos != 0