clone results so id doesnt get modified inplace
This commit is contained in:
parent
1fce117e54
commit
c66519076d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user