diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-02-01 23:59:13 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-02-01 23:59:13 +0200 |
| commit | d8cd56aa7ef29a4dd118582faae06085da514e43 (patch) | |
| tree | beb2670c5b3f1c5c454ef20a1db35371a02dacb3 | |
| parent | 0dbf78a934ccd849fa6d114390fee84e00674656 (diff) | |
| download | dotfiles-d8cd56aa7ef29a4dd118582faae06085da514e43.tar.gz dotfiles-d8cd56aa7ef29a4dd118582faae06085da514e43.zip | |
Add max_jobs option
| -rw-r--r-- | lua/user/pack.lua | 5 |
1 files 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" }) |
