Remove duplicate expression and escape helptags directory
This commit is contained in:
parent
a7477f04b7
commit
01e126469b
1 changed files with 1 additions and 1 deletions
2
plug.vim
2
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
|
||||
|
|
Loading…
Reference in a new issue