From 01e126469b8d42b98a2fc54dd98ee8df77c9e382 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 2 Aug 2014 02:47:33 +0900 Subject: [PATCH] Remove duplicate expression and escape helptags directory --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index c24ab2d..9952e8b 100644 --- a/plug.vim +++ b/plug.vim @@ -377,7 +377,7 @@ function! s:helptags() for spec in values(g:plugs) let docd = join([spec.dir, 'doc'], '/') if isdirectory(docd) - silent! execute 'helptags '. join([spec.dir, 'doc'], '/') + silent! execute 'helptags '. s:esc(docd) endif endfor endfunction