Remove duplicate expression and escape helptags directory
This commit is contained in:
parent
a7477f04b7
commit
01e126469b
2
plug.vim
2
plug.vim
|
@ -377,7 +377,7 @@ function! s:helptags()
|
||||||
for spec in values(g:plugs)
|
for spec in values(g:plugs)
|
||||||
let docd = join([spec.dir, 'doc'], '/')
|
let docd = join([spec.dir, 'doc'], '/')
|
||||||
if isdirectory(docd)
|
if isdirectory(docd)
|
||||||
silent! execute 'helptags '. join([spec.dir, 'doc'], '/')
|
silent! execute 'helptags '. s:esc(docd)
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
endfunction
|
endfunction
|
||||||
|
|
Loading…
Reference in New Issue
Block a user