From ec9625c628a67202b2d82d41a4d6f1e5879f85c1 Mon Sep 17 00:00:00 2001 From: gmarik Date: Fri, 21 Feb 2014 20:53:31 -0600 Subject: [PATCH] fixes helptags and wildigore issue #390 - resolve introduced in 08e9894d2 resolves only bundle dir - so '/doc/' dir doesn't loose its trailing slash --- autoload/vundle/installer.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index d99791f..02c7903 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -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