From 4c7da73573d587a26f95d8d78b5cd31857ae46f4 Mon Sep 17 00:00:00 2001 From: Anton Petrov Date: Wed, 17 Aug 2011 22:31:29 +0400 Subject: [PATCH] Fix hardcoded shellslashes for helptags(). --- autoload/pathogen.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/pathogen.vim b/autoload/pathogen.vim index d8d1d10b..f8098d97 100644 --- a/autoload/pathogen.vim +++ b/autoload/pathogen.vim @@ -163,7 +163,7 @@ let s:done_bundles = '' function! pathogen#helptags() " {{{1 let sep = pathogen#separator() for dir in pathogen#split(&rtp) - if (dir.sep)[0 : strlen($VIMRUNTIME)] !=# $VIMRUNTIME.sep && filewritable(dir.'/doc') == 2 && !empty(glob(dir.'/doc/*')) && (!filereadable(dir.'/doc/tags') || filewritable(dir.'/doc/tags')) + if (dir.sep)[0 : strlen($VIMRUNTIME)] !=# $VIMRUNTIME.sep && filewritable(dir.sep.'doc') == 2 && !empty(glob(dir.sep.'doc'.sep.'*')) && (!filereadable(dir.sep.'doc'.sep.'tags') || filewritable(dir.sep.'doc'.sep.'tags')) helptags `=dir.'/doc'` endif endfor