Explorar el Código

Remove duplicate expression and escape helptags directory

Junegunn Choi hace 11 años
padre
commit
01e126469b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      plug.vim

+ 1 - 1
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