Browse Source

fixed bug

- map modifies source collection
- arrays are passed by reference
- resulted in remapping g:bundles into list or directories
pull/10/head
gmarik 15 years ago
parent
commit
dcade75133
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      autoload/vundle/installer.vim

+ 1
- 1
autoload/vundle/installer.vim View File

@ -8,7 +8,7 @@ func! vundle#installer#install(bang, ...)
endf
func! vundle#installer#helptags(bundles)
let bundle_dirs = map(a:bundles,'v:val.rtpath()')
let bundle_dirs = map(copy(a:bundles),'v:val.rtpath()')
let help_dirs = filter(bundle_dirs, 's:has_doc(v:val)')
call map(copy(help_dirs), 's:helptags(v:val)')
if len(help_dirs) > 0


Loading…
Cancel
Save