Browse Source

rmv &rtp after runtime it.

pull/179/head
Rykka 14 years ago
parent
commit
a736eb551c
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      autoload/vundle/config.vim

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

@ -20,6 +20,10 @@ func! vundle#config#require(bundles) abort
exec 'runtime! '.b.name.'/plugin/*.vim'
exec 'runtime! '.b.name.'/after/*.vim'
call s:rtp_rm(g:bundle_dir)
if g:vundle_local!=0
exec 'runtime! '.b.name.'/autoload/*.vim'
call s:rtp_rm(b.rtpath)
endif
endfor
endf


Loading…
Cancel
Save