Преглед на файлове

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
   if in_headless then
     init_opts.display = nil
     init_opts.display = nil
+    init_opts.git.clone_timeout = 300
   end
   end
 
 
   if not utils.is_directory(install_path) then
   if not utils.is_directory(install_path) then