ignore wildignore with expand/glob

- closes #110
This commit is contained in:
gmarik
2011-11-18 00:36:14 -06:00
parent baa3e989e0
commit 43080a1e5c
5 changed files with 18 additions and 13 deletions

View File

@@ -5,7 +5,7 @@ let root = '/tmp/vundle_bundles/'
let src = 'http://github.com/gmarik/vundle.git'
" let src = '~/.vim/bundle/vundle/.git'
if !isdirectory(expand(root).'/vundle')
if !isdirectory(expand(root, 1).'/vundle')
exec '!git clone '.src.' '.root.'/vundle'
endif
@@ -56,6 +56,11 @@ filetype plugin indent on " Automatically detect file types.
set wildignore+=doc " should not break helptags
set wildignore+=.git " should not break clone
set wildignore+=.git/* " should not break clone
set wildignore+=*/.git/*
" TODO: helptags fails with this
" set wildignore+=doc/* " should not break clone
" set wildignore+=*/doc/*
" BundleInstall