Permalink
Browse files

update Pathogen

  • Loading branch information...
1 parent c89a279 commit 8c3675be8d177d237af9b21c13fcb961d1a9c952 @mislav committed Jun 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/pathogen.vim
@@ -166,7 +166,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.sep.'doc') == 2 && !empty(glob(dir.sep.'doc'.sep.'*')) && (!filereadable(dir.sep.'doc'.sep.'tags') || filewritable(dir.sep.'doc'.sep.'tags'))
+ 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'`
endif
endfor

0 comments on commit 8c3675b

Please sign in to comment.