clone results so id doesnt get modified inplace

This commit is contained in:
gmarik 2011-08-11 23:56:41 -05:00
parent 1fce117e54
commit c66519076d

View File

@ -60,7 +60,7 @@ func! vundle#scripts#view(title, headers, results)
exec g:vundle_view.'bd!' exec g:vundle_view.'bd!'
endif endif
let results = map(a:results, ' printf("Bundle ' ."'%s'".'", v:val) ') let results = map(copy(a:results), ' printf("Bundle ' ."'%s'".'", v:val) ')
exec 'silent pedit [Vundle] '.a:title exec 'silent pedit [Vundle] '.a:title
wincmd P | wincmd H wincmd P | wincmd H