From d8cd56aa7ef29a4dd118582faae06085da514e43 Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 1 Feb 2023 23:59:13 +0200 Subject: Add max_jobs option --- lua/user/pack.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/user/pack.lua b/lua/user/pack.lua index 43b7a36..1a37d8b 100644 --- a/lua/user/pack.lua +++ b/lua/user/pack.lua @@ -15,7 +15,7 @@ if fn.empty(fn.glob(install_path)) > 0 then vim.cmd([[packadd packer.nvim]]) end --- Autocommand that reloads neovim whenever you save the plugins.lua file +-- Autocommand that reloads neovim whenever you save this file vim.cmd([[ augroup packer_user_config autocmd! @@ -29,9 +29,10 @@ if not status_ok then return end --- Have packer use a popup window +-- Have packer use a popup window and set a maximum number of jobs packer.init({ auto_reload_compiled = true, + max_jobs = 90, display = { open_fn = function() return require("packer.util").float({ border = "rounded" }) -- cgit v1.2.3