From 1e90e2f91f6d65240f8ecb40bbfa23ce030c2066 Mon Sep 17 00:00:00 2001 From: Anders Johnson Date: Sat, 23 Feb 2013 21:33:19 -0600 Subject: [PATCH 1/6] ignore netrwhist file --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 926ccaa..f276604 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ doc/tags +.netrwhist From 14891dbae2152463b3801c9981a3796cae5234ba Mon Sep 17 00:00:00 2001 From: Jacobo de Vera Date: Sat, 16 Mar 2013 00:09:07 +0000 Subject: [PATCH 2/6] Check for leading/trailing spaces in bundle specs Warn the user when a leading or trailing space is found in one the bundle specs they have configured using the Bundle command. --- autoload/vundle/config.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/vundle/config.vim b/autoload/vundle/config.vim index 55c7d7d..5bb6e3f 100644 --- a/autoload/vundle/config.vim +++ b/autoload/vundle/config.vim @@ -24,6 +24,9 @@ func! vundle#config#require(bundles) abort endf func! vundle#config#init_bundle(name, opts) + if a:name != substitute(a:name, '^\s*\(.\{-}\)\s*$', '\1', '') + echo "Spurious leading and/or trailing whitespace found in bundle spec '" . a:name . "'" + endif let opts = extend(s:parse_options(a:opts), s:parse_name(substitute(a:name,"['".'"]\+','','g'))) let b = extend(opts, copy(s:bundle)) let b.rtpath = s:rtpath(opts) From 3dcb0c32991026d0d226aaad57b622c6553cd0db Mon Sep 17 00:00:00 2001 From: Jacobo de Vera Date: Sat, 16 Mar 2013 01:47:23 +0000 Subject: [PATCH 3/6] Show error in installer if helptags fails Failures in :helptags commands for individual bundles were logged but the error were not propagated to the installer. --- autoload/vundle/installer.vim | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index c4d0580..8386aae 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -106,7 +106,10 @@ func! vundle#installer#install(bang, name) abort endf func! vundle#installer#docs() abort - call vundle#installer#helptags(g:bundles) + let error_count = vundle#installer#helptags(g:bundles) + if error_count > 0 + return 'error' + endif return 'helptags' endf @@ -117,11 +120,12 @@ func! vundle#installer#helptags(bundles) abort call s:log('') call s:log('Helptags:') - call map(copy(help_dirs), 's:helptags(v:val)') + let statuses = map(copy(help_dirs), 's:helptags(v:val)') + let errors = filter(statuses, 'v:val == 0') call s:log('Helptags: '.len(help_dirs).' bundles processed') - return help_dirs + return len(errors) endf func! vundle#installer#list(bang) abort @@ -201,7 +205,9 @@ func! s:helptags(rtp) abort execute 'helptags ' . doc_path catch call s:log("> Error running :helptags ".doc_path) + return 0 endtry + return 1 endf func! s:sync(bang, bundle) abort From 769010ae4dc2ccb40bb0d93078f0480c80553860 Mon Sep 17 00:00:00 2001 From: Bruno Sutic Date: Sun, 21 Apr 2013 17:03:02 +0200 Subject: [PATCH 4/6] Readme and doc clarification about local git repos --- README.md | 2 ++ doc/vundle.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 02bba7f..70d0ce8 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,8 @@ Bundle 'FuzzyFinder' " non github repos Bundle 'git://git.wincent.com/command-t.git' + " git repos on your local machine (ie. when working on your own plugin) + Bundle 'file:///Users/gmarik/path/to/plugin' " ... filetype plugin indent on " required! diff --git a/doc/vundle.txt b/doc/vundle.txt index 57e7260..eb9d82f 100644 --- a/doc/vundle.txt +++ b/doc/vundle.txt @@ -73,6 +73,8 @@ in order to install/search [all available vim scripts] Bundle 'rails.vim' " non github repos Bundle 'git://git.wincent.com/command-t.git' + " git repos on your local machine (ie. when working on your own plugin) + Bundle 'file:///Users/gmarik/path/to/plugin' " ... filetype plugin indent on " required! From c6782d7ba84aa21069389b08e4fc0515d3d3d7a9 Mon Sep 17 00:00:00 2001 From: grantbow Date: Mon, 12 Aug 2013 17:23:57 -0700 Subject: [PATCH 5/6] make the doc/vundle.txt the same as README.md --- doc/vundle.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/vundle.txt b/doc/vundle.txt index eb9d82f..bb4ea4f 100644 --- a/doc/vundle.txt +++ b/doc/vundle.txt @@ -46,7 +46,7 @@ in order to install/search [all available vim scripts] *vundle-quickstart* 1) Setup Vundle: > - git clone http://github.com/gmarik/vundle.git ~/.vim/vundle.git + git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle 2) Configure bundles: From c3ec8796944a372c6d44496ad6113e7d2e74331e Mon Sep 17 00:00:00 2001 From: gmarik Date: Tue, 13 Aug 2013 15:19:17 -0500 Subject: [PATCH 6/6] Bundler link update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 70d0ce8..508b266 100644 --- a/README.md +++ b/README.md @@ -132,7 +132,7 @@ see [wiki](https://github.com/gmarik/vundle/wiki) [Vundle]:http://github.com/gmarik/vundle [Pathogen]:http://github.com/tpope/vim-pathogen/ -[Bundler]:http://github.com/wycats/bundler/ +[Bundler]:https://github.com/bundler/bundler [Vim]:http://www.vim.org [Git]:http://git-scm.com [all available vim scripts]:http://vim-scripts.org/vim/scripts.html