Fix to use move highlight condition
This commit is contained in:
parent
b7bb754be8
commit
b625144c96
@ -341,8 +341,10 @@ function! EasyMotion#NextPrevious(visualmode, direction) " {{{
|
|||||||
let re = s:previous.regexp
|
let re = s:previous.regexp
|
||||||
let search_direction = (a:direction >= 1 ? 'b' : '')
|
let search_direction = (a:direction >= 1 ? 'b' : '')
|
||||||
|
|
||||||
|
if g:EasyMotion_move_highlight
|
||||||
call EasyMotion#highlight#attach_autocmd()
|
call EasyMotion#highlight#attach_autocmd()
|
||||||
call EasyMotion#highlight#add_highlight(re,'EasyMotionMoveHL')
|
call EasyMotion#highlight#add_highlight(re,'EasyMotionMoveHL')
|
||||||
|
endif
|
||||||
|
|
||||||
if ! empty(a:visualmode)
|
if ! empty(a:visualmode)
|
||||||
" FIXME: blink highlight
|
" FIXME: blink highlight
|
||||||
|
Loading…
x
Reference in New Issue
Block a user