Browse Source

Improve display of rtp

pull/252/head
Xidorn Quan 13 years ago
parent
commit
48f4524ed5
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      autoload/vundle/installer.vim
  2. +1
    -1
      autoload/vundle/scripts.vim

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

@ -102,7 +102,7 @@ endf
func! vundle#installer#install(bang, name) abort
if !isdirectory(g:bundle_dir) | call mkdir(g:bundle_dir, 'p') | endif
let arg_list = split(a:name, ',')
let arg_list = split(a:name, ',\s*')
let rtp = len(arg_list) > 1 ? arg_list[1] : ''
let rtp = substitute(rtp, "['".'"]\+','','g')
let name = arg_list[0]


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

@ -77,7 +77,7 @@ endf
func! vundle#scripts#bundle_names(names)
return map(copy(a:names), 'empty(v:val.rtp) ? '.
\ 'printf("Bundle ' ."'%s'".'", v:val.name) : '.
\ 'printf("Bundle ' ."'%s','%s'".'", v:val.name, v:val.rtp)')
\ 'printf("Bundle ' ."'%s', '%s'".'", v:val.name, v:val.rtp)')
endf
func! vundle#scripts#view(title, headers, results)


Loading…
Cancel
Save