summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLostNeophyte <[email protected]>2022-11-13 17:40:16 +0100
committerkylo252 <[email protected]>2022-11-14 10:18:33 +0100
commit3a587796e3ee053ec11441904c684221a8c20d95 (patch)
treeb7c1a627a48cb1f57a3824541d3a629c9656afa6
parentd86fdd13b50022b6491f7947f1727867a3607d9c (diff)
fix(packer): increase clone timeout in headless (#3470)
* fix(packer): increase clone timeout in headless * refactor: set timeout to 300 Co-authored-by: kylo252 <[email protected]> Co-authored-by: kylo252 <[email protected]>
-rw-r--r--lua/lvim/plugin-loader.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/lvim/plugin-loader.lua b/lua/lvim/plugin-loader.lua
index 88c2c0d2..4f1fe7c4 100644
--- a/lua/lvim/plugin-loader.lua
+++ b/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