Fix highlight of second targets with matchaddpos()

This commit is contained in:
haya14busa 2014-06-19 17:45:07 +09:00
parent 70406b717c
commit 834f76d279

View File

@ -985,7 +985,7 @@ function! s:PromptUser(groups) "{{{
if exists('*matchaddpos')
call EasyMotion#highlight#add_pos_highlight(
\ line_num, col_num, _hl_group)
\ line_num, col_num + col_add, _hl_group)
else
call EasyMotion#highlight#add_highlight(
\ '\%' . line_num . 'l' . target_col_regexp,