make rtpath an attribute

- having it as a function makes it slower
This commit is contained in:
gmarik
2012-01-28 18:05:21 -06:00
parent eb6e676d3e
commit 1fce719532
2 changed files with 11 additions and 8 deletions

View File

@@ -103,7 +103,7 @@ func! vundle#installer#docs() abort
endf
func! vundle#installer#helptags(bundles) abort
let bundle_dirs = map(copy(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 s:log('')