From 834f76d27941e27e1275351f0c80d2e6d50b6546 Mon Sep 17 00:00:00 2001 From: haya14busa Date: Thu, 19 Jun 2014 17:45:07 +0900 Subject: [PATCH] Fix highlight of second targets with matchaddpos() --- autoload/EasyMotion.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/EasyMotion.vim b/autoload/EasyMotion.vim index cbf5a40..389b1db 100644 --- a/autoload/EasyMotion.vim +++ b/autoload/EasyMotion.vim @@ -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,