Permalink
Browse files

Fix hardcoded shellslashes for helptags()

  • Loading branch information...
1 parent 1e0c2b4 commit fb16afe7382f8460c3a6f5318ed882319081330a @sofaking sofaking committed with Aug 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/pathogen.vim
View
@@ -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

0 comments on commit fb16afe

Please sign in to comment.