Browse Source

fixes helptags and wildigore issue #390

- resolve introduced in 08e9894d2 resolves only bundle dir
- so '/doc/' dir doesn't loose its trailing slash
pull/394/head
gmarik 12 years ago
parent
commit
ec9625c628
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      autoload/vundle/installer.vim

+ 3
- 2
autoload/vundle/installer.vim View File

@ -199,10 +199,11 @@ func! s:has_doc(rtp) abort
endf
func! s:helptags(rtp) abort
let doc_path = a:rtp.'/doc/'
" it is important to keep trailing slash here
let doc_path = resolve(a:rtp).'/doc/'
call s:log(':helptags '.doc_path)
try
execute 'helptags ' . resolve(doc_path)
execute 'helptags ' . doc_path
catch
call s:log("> Error running :helptags ".doc_path)
return 0


Loading…
Cancel
Save