From 2c14c6095ef232689806ee7186f4383340ac511c Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 21 Mar 2013 13:11:36 -0400 Subject: [PATCH] Silence errors in :helptags Closes #90. --- autoload/pathogen.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/pathogen.vim b/autoload/pathogen.vim index 57ca1bd..c4bbcc4 100644 --- a/autoload/pathogen.vim +++ b/autoload/pathogen.vim @@ -223,7 +223,7 @@ function! pathogen#helptags() abort " {{{1 for glob in pathogen#split(&rtp) for dir in split(glob(glob), "\n") if (dir.sep)[0 : strlen($VIMRUNTIME)] !=# $VIMRUNTIME.sep && filewritable(dir.sep.'doc') == 2 && !empty(filter(split(glob(dir.sep.'doc'.sep.'*'),"\n>"),'!isdirectory(v:val)')) && (!filereadable(dir.sep.'doc'.sep.'tags') || filewritable(dir.sep.'doc'.sep.'tags')) - helptags `=dir.'/doc'` + silent! helptags `=dir.'/doc'` endif endfor endfor