diff --git a/autoload/vundle.vim b/autoload/vundle.vim index 2657121..efd8156 100644 --- a/autoload/vundle.vim +++ b/autoload/vundle.vim @@ -2,7 +2,7 @@ " Author: gmarik " HomePage: http://github.com/gmarik/Vundle.vim " Readme: http://github.com/gmarik/Vundle.vim/blob/master/README.md -" Version: 0.9 +" Version: 0.10.1 " Plugin Commands com! -nargs=+ -bar Plugin diff --git a/autoload/vundle/config.vim b/autoload/vundle/config.vim index 561f468..46d694e 100644 --- a/autoload/vundle/config.vim +++ b/autoload/vundle/config.vim @@ -167,6 +167,7 @@ func! s:rtp_add_defaults() let default = &rtp let &rtp = current for item in reverse(split(default, ',')) + let item = fnameescape(item) exec 'set rtp-=' . item if fnamemodify(item, ":t") == 'after' exec 'set rtp+=' . item diff --git a/changelog.md b/changelog.md index a537da7..8c3a36e 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,9 @@ Change Log ========== F = Feature, B = Bug Fix, D = Doc Change +### Version 0.10.1 +- B: #451 Escape spaces when handling rtp directories + ### Version 0.10 - F: #415 Support plugin pinning (for non-git repos & preventing updates) - F: #440 Detect plugin name collisions