From 5c1d842abd2de9f29cd128fbdf53ae8648f319a5 Mon Sep 17 00:00:00 2001 From: gmarik Date: Sun, 31 Oct 2010 19:32:39 -0500 Subject: [PATCH] BundleDocs command --- autoload/vundle.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/vundle.vim b/autoload/vundle.vim index d6e93c5..d3b5d77 100644 --- a/autoload/vundle.vim +++ b/autoload/vundle.vim @@ -10,6 +10,7 @@ au BufRead,BufNewFile {bundlerc} set ft=vim com! -nargs=+ Bundle call vundle#new_bundle() com! -nargs=0 BundleInstall call vundle#install_bundles() +com! -nargs=0 BundleDocs call vundle#helptagify_bundles() let g:bundle_dir = expand('~/.vim/bundle/') @@ -62,7 +63,7 @@ endf func! vundle#helptagify_bundles() for bundle in g:bundles - let dir = bundle.path + let dir = bundle.rtpath if isdirectory(dir.'/doc') && (!filereadable(dir.'/doc/tags') || filewritable(dir.'/doc/tags')) helptags `=dir.'/doc'` endif