浏览代码

fix(packer): increase clone timeout in headless (#3470)

* fix(packer): increase clone timeout in headless

* refactor: set timeout to 300

Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>

Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
LostNeophyte 2 年之前
父节点
当前提交
5fb3f07c7b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lua/lvim/plugin-loader.lua

+ 1 - 0
lua/lvim/plugin-loader.lua

@@ -39,6 +39,7 @@ function plugin_loader.init(opts)
 
   if in_headless then
     init_opts.display = nil
+    init_opts.git.clone_timeout = 300
   end
 
   if not utils.is_directory(install_path) then