Require installed script

- so it's ready to use right after installation
This commit is contained in:
gmarik
2010-12-08 22:55:16 -06:00
parent 04ac11f435
commit e1b4ef5f09
2 changed files with 11 additions and 10 deletions

View File

@@ -33,7 +33,8 @@ endf
func! s:install(bang, bundle)
let synced = s:sync(a:bang, a:bundle)
call s:helptags(a:bundle.rtpath())
call s:log(a:bundle.name.' '.(synced ? ' ': ' already').' installed')
call s:log(a:bundle.name.' '.(synced ? '': ' already').' installed')
if synced | call vundle#config#require(a:bundle) | endif
endf
func! s:log(msg)