Browse Source

Refactor another time.

pull/418/head
Jeremy Pallats/starcraft.man 12 years ago
parent
commit
dcb40c000f
2 changed files with 7 additions and 1 deletions
  1. +1
    -1
      autoload/vundle.vim
  2. +6
    -0
      autoload/vundle/config.vim

+ 1
- 1
autoload/vundle.vim View File

@ -58,8 +58,8 @@ endif
func! vundle#rc(...) abort
let g:bundle_dir = len(a:000) > 0 ? expand(a:1, 1) : expand('$HOME/.vim/bundle', 1)
let g:bundles = []
let g:updated_bundles = []
let g:vundle_log = []
let g:vundle_changelog = ['Updated Plugins:']
call vundle#config#init()
endf

+ 6
- 0
autoload/vundle/config.vim View File

@ -7,6 +7,12 @@ func! vundle#config#bundle(arg, ...)
return bundle
endf
func! vundle#config#init()
if !exists('g:bundles') | let g:bundles = [] | endif
call s:rtp_rm_a()
let g:bundles = []
endf
func! vundle#config#require(bundles) abort
for b in a:bundles
call s:rtp_add(b.rtpath)


Loading…
Cancel
Save