mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 18:54:27 +08:00
fix detecting eol.
This commit is contained in:
@@ -592,7 +592,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('\%(</\w\+\)\@<!\zs><\/\|\(""\)\|^\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