From 08e9894d2a9452537663f09a73ddeb4e647e9c4c Mon Sep 17 00:00:00 2001 From: Jacobo de Vera Date: Thu, 7 Nov 2013 00:07:10 +0000 Subject: [PATCH] Resolve symlinks before running helptags Helptags seems to fail if some of the path components it receives are symlinks. So resolve the symlink when calling helptags. --- autoload/vundle/installer.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 4780cf8..bc807c3 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -202,7 +202,7 @@ func! s:helptags(rtp) abort let doc_path = a:rtp.'/doc/' call s:log(':helptags '.doc_path) try - execute 'helptags ' . doc_path + execute 'helptags ' . resolve(doc_path) catch call s:log("> Error running :helptags ".doc_path) return 0