Fix highlight of second targets with matchaddpos()
This commit is contained in:
parent
70406b717c
commit
834f76d279
@ -985,7 +985,7 @@ function! s:PromptUser(groups) "{{{
|
|||||||
|
|
||||||
if exists('*matchaddpos')
|
if exists('*matchaddpos')
|
||||||
call EasyMotion#highlight#add_pos_highlight(
|
call EasyMotion#highlight#add_pos_highlight(
|
||||||
\ line_num, col_num, _hl_group)
|
\ line_num, col_num + col_add, _hl_group)
|
||||||
else
|
else
|
||||||
call EasyMotion#highlight#add_highlight(
|
call EasyMotion#highlight#add_highlight(
|
||||||
\ '\%' . line_num . 'l' . target_col_regexp,
|
\ '\%' . line_num . 'l' . target_col_regexp,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user