Skip to content

Commit

Permalink
Fix hardcoded shellslashes for helptags()
Browse files Browse the repository at this point in the history
  • Loading branch information
sofaking authored and tpope committed Aug 17, 2011
1 parent 1e0c2b4 commit fb16afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/pathogen.vim
Expand Up @@ -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
Expand Down

0 comments on commit fb16afe

Please sign in to comment.