avoid to move to </a>|</span>.

This commit is contained in:
mattn
2012-06-03 00:31:17 +09:00
parent 2ff5526a0c
commit 11af392af3

View File

@@ -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('\%(</\w\+\)\@<!\zs><\/\|\(""\)\|^\s*$', a:flag ? 'Wpb' : 'Wp')
if pos == 3
startinsert!
elseif pos != 0