Unlet s:marked after execution

This lead to nasty bugs because Startify would take the wrong branch to
open the new buffers.

References #30.
This commit is contained in:
Marco Hinz 2013-07-29 12:41:27 +02:00
parent e0b295a725
commit ae062f2b6f

View file

@ -380,6 +380,10 @@ function! s:open_buffers(cword) abort
else
execute 'normal' a:cword
endif
if exists('s:marked')
unlet s:marked
unlet s:nmarked
endif
endfunction
" Function: s:close {{{1