Browse Source

Cleanup

pull/10/head
gmarik 15 years ago
parent
commit
280dbd5f71
1 changed files with 4 additions and 7 deletions
  1. +4
    -7
      autoload/vundle.vim

+ 4
- 7
autoload/vundle.vim View File

@ -73,13 +73,8 @@ func! s:helptags(rtp)
return 1
endf
func! s:require(bundle)
exec 'runtime '.bundle.rtpath().'/plugin/*.vim'
endf
func! s:sync(bundle)
let git_dir = a:bundle.path().'/.git'
echo a:bundle.name
if isdirectory(git_dir)
silent exec '!cd '.a:bundle.path().'; git pull'
else
@ -88,8 +83,10 @@ func! s:sync(bundle)
endf
func! s:install(bundle)
call s:sync(a:bundle)
call s:helptags(a:bundle)
echo a:bundle.name
call s:sync(a:bundle)
call s:helptags(a:bundle.rtpath())
exec 'runtime! '.a:bundle.rtpath().'/plugin/*.vim'
endf
let s:bundle = {}


Loading…
Cancel
Save