From 06088de231d108e5566aa3ed6befe7f564dee7f0 Mon Sep 17 00:00:00 2001 From: gmarik Date: Sat, 28 May 2011 02:55:49 -0500 Subject: [PATCH] do not break on helptag generation errors - just show the message - closes #46 --- autoload/vundle/installer.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index de4adfe..6a225a2 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -58,7 +58,11 @@ func! s:has_doc(rtp) abort endf func! s:helptags(rtp) abort - helptags `=a:rtp.'/doc/'` + try + helptags `=a:rtp.'/doc/'` + catch + echohl Error | echo "Error generating helptags in ".a:rtp | echohl None + endtry endf func! s:sync(bang, bundle) abort