浏览代码

Ignore errors during :helptags

https://github.com/junegunn/vim-plug/issues/31#issuecomment-49058031
Junegunn Choi 11 年之前
父节点
当前提交
e04f696682
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -335,7 +335,7 @@ function! s:apply()
   for spec in values(g:plugs)
     let docd = join([spec.dir, 'doc'], '/')
     if isdirectory(docd)
-      execute "helptags ". join([spec.dir, 'doc'], '/')
+      silent! execute "helptags ". join([spec.dir, 'doc'], '/')
     endif
   endfor
   runtime! plugin/*.vim