diff --git a/plugin/EasyMotion.vim b/plugin/EasyMotion.vim index 62c1794..1db4627 100644 --- a/plugin/EasyMotion.vim +++ b/plugin/EasyMotion.vim @@ -176,17 +176,17 @@ let current_group += 1 endfor + let lines_items = items(lines) " }}} - - let input_char = '' - - " Store original properties {{{ + " Store original buffer properties {{{ let modified = &modified let modifiable = &modifiable let readonly = &readonly " }}} + let input_char = '' + try " Highlight source let target_hl_id = matchadd(g:EasyMotion_target_hl, join(hl_coords, '\|'), 1) @@ -336,6 +336,7 @@ let shade_hl_id = matchadd(g:EasyMotion_shade_hl, shade_hl_re, 0) endif + " Prompt user for target group/character let coords = PromptUser(groups) " Remove shading