Browse Source

Merge 3f980dd9bc into b255382d62

pull/539/merge
Will Vousden 6 years ago
committed by GitHub
parent
commit
86eeca4cd8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions
  1. +2
    -5
      autoload/vundle/config.vim

+ 2
- 5
autoload/vundle/config.vim View File

@ -42,6 +42,7 @@ endf
func! vundle#config#init()
if !exists('g:vundle#bundles') | let g:vundle#bundles = [] | endif
call s:rtp_rm_a()
let s:rtp_default = &rtp
let g:vundle#bundles = []
let s:bundle_names = {}
endf
@ -165,11 +166,7 @@ endf
" (with their 'after' directories last).
" ---------------------------------------------------------------------------
func! s:rtp_add_defaults()
let current = &rtp
set rtp&vim
let default = &rtp
let &rtp = current
let default_rtp_items = split(default, ',')
let default_rtp_items = split(s:rtp_default, ',')
if !empty(default_rtp_items)
let first_item = fnameescape(default_rtp_items[0])
exec 'set rtp-=' . first_item


Loading…
Cancel
Save