fixed bug
- map modifies source collection - arrays are passed by reference - resulted in remapping g:bundles into list or directories
This commit is contained in:
parent
f99ca2e5ac
commit
dcade75133
@ -8,7 +8,7 @@ func! vundle#installer#install(bang, ...)
|
|||||||
endf
|
endf
|
||||||
|
|
||||||
func! vundle#installer#helptags(bundles)
|
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)')
|
let help_dirs = filter(bundle_dirs, 's:has_doc(v:val)')
|
||||||
call map(copy(help_dirs), 's:helptags(v:val)')
|
call map(copy(help_dirs), 's:helptags(v:val)')
|
||||||
if len(help_dirs) > 0
|
if len(help_dirs) > 0
|
||||||
|
Loading…
Reference in New Issue
Block a user