Browse Source

TODOs

pull/10/head
gmarik 15 years ago
parent
commit
e9f430ee0e
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      autoload/vundle/config.vim
  2. +2
    -1
      autoload/vundle/installer.vim

+ 1
- 1
autoload/vundle/config.vim View File

@ -13,7 +13,7 @@ endf
func! vundle#config#require(bundle)
call s:rtp_add(g:bundle_dir)
" TODO: it has to be relative rtpath, not bundle, name
" TODO: it has to be relative rtpath, not bundle.name
exec 'runtime! '.a:bundle.name.'/plugin/*.vim'
exec 'runtime! '.a:bundle.name.'/after/*.vim'
call s:rtp_rm(g:bundle_dir)


+ 2
- 1
autoload/vundle/installer.vim View File

@ -1,5 +1,5 @@
func! vundle#installer#install(bang)
" TODO: this sucks
" TODO: obtain Bundles without sourcing .vimrc
silent source ~/.vimrc
if !isdirectory(g:bundle_dir) | call mkdir(g:bundle_dir, 'p') | endif
for bundle in g:bundles | call s:install('!' == a:bang, bundle) | endfor
@ -37,6 +37,7 @@ func! s:install(bang, bundle)
if synced | call vundle#config#require(a:bundle) | endif
endf
" TODO: make it pause after output in console mode
func! s:log(msg)
if has('gui_running')
echo a:msg


Loading…
Cancel
Save