Skip to content

Commit

Permalink
pathogen updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ronanguilloux committed Jun 25, 2013
1 parent c16acff commit b0a3962
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .vim/autoload/pathogen.vim
Expand Up @@ -17,11 +17,9 @@ endif
let g:loaded_pathogen = 1

function! s:warn(msg)
if &verbose
echohl WarningMsg
echomsg a:msg
echohl NONE
endif
echohl WarningMsg
echomsg a:msg
echohl NONE
endfunction

" Point of entry for basic default usage. Give a relative path to invoke
Expand Down Expand Up @@ -223,7 +221,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! execute 'helptags' pathogen#fnameescape(dir.'/doc')
endif
endfor
endfor
Expand Down

0 comments on commit b0a3962

Please sign in to comment.