forked from VimPlug/emmet-vim
avoid to move to </a>|</span>.
This commit is contained in:
@@ -583,7 +583,7 @@ function! zencoding#lang#html#balanceTag(flag) range
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! zencoding#lang#html#moveNextPrev(flag)
|
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
|
if pos == 3
|
||||||
startinsert!
|
startinsert!
|
||||||
elseif pos != 0
|
elseif pos != 0
|
||||||
|
|||||||
Reference in New Issue
Block a user