From c5e6715623bf05025c47fdf7957de3dc4dfc2b07 Mon Sep 17 00:00:00 2001 From: haya14busa Date: Fri, 5 Dec 2014 17:57:23 +0900 Subject: [PATCH] Fix unexpected global var --- autoload/EasyMotion/highlight.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/autoload/EasyMotion/highlight.vim b/autoload/EasyMotion/highlight.vim index acf00ed..7ca7e16 100644 --- a/autoload/EasyMotion/highlight.vim +++ b/autoload/EasyMotion/highlight.vim @@ -155,9 +155,10 @@ let s:priorities = { \ g:EasyMotion_hl_inc_cursor : 2, \ g:EasyMotion_hl_move : 0, \ } -for group in keys(s:priorities) - let s:h.ids[group] = [] +for s:group in keys(s:priorities) + let s:h.ids[s:group] = [] endfor +unlet s:group "}}} function! EasyMotion#highlight#delete_highlight(...) "{{{