Merge branch 'fix/foldedline' into master
This commit is contained in:
commit
9f836921d3
@ -1172,7 +1172,8 @@ function! s:EasyMotion(regexp, direction, visualmode, is_inclusive) " {{{
|
|||||||
" Skip folded lines {{{
|
" Skip folded lines {{{
|
||||||
if EasyMotion#helper#is_folded(pos[0])
|
if EasyMotion#helper#is_folded(pos[0])
|
||||||
if search_direction ==# 'b'
|
if search_direction ==# 'b'
|
||||||
keepjumps call cursor(foldclosed(pos[0]-1), 0)
|
" FIXME: Hmm... I should use filter()
|
||||||
|
" keepjumps call cursor(foldclosed(pos[0]), 0)
|
||||||
else
|
else
|
||||||
keepjumps call cursor(foldclosedend(pos[0]+1), 0)
|
keepjumps call cursor(foldclosedend(pos[0]+1), 0)
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user