Browse Source

allow custom bundle_dir

pull/25/merge
gmarik 15 years ago
parent
commit
8565792679
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      autoload/vundle.vim

+ 2
- 2
autoload/vundle.vim View File

@ -28,7 +28,7 @@ au Filetype vundle call vundle#scripts#setup_view()
au Syntax vim syn keyword vimCommand Bundle au Syntax vim syn keyword vimCommand Bundle
func! vundle#rc()
let g:bundle_dir = expand('$HOME/.vim/bundle')
func! vundle#rc(...) abort
let g:bundle_dir = len(a:000) > 0 ? expand(a:1) : expand('$HOME/.vim/bundle')
call vundle#config#init() call vundle#config#init()
endf endf

Loading…
Cancel
Save