From 663a03ee17c4103cb36d4034a623e422d681fa34 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Wed, 24 Aug 2022 04:53:27 -0700 Subject: [PATCH] nvim: look for WEAK_SYSTEM variable as well as TERMUX_VERSION --- .config/nvim/lua/blake/plugins.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/blake/plugins.lua b/.config/nvim/lua/blake/plugins.lua index cff5c2b..cfaafab 100644 --- a/.config/nvim/lua/blake/plugins.lua +++ b/.config/nvim/lua/blake/plugins.lua @@ -8,8 +8,8 @@ if fn.empty(fn.glob(install_path)) > 0 then end -- }} --- Reduce the maximum number of jobs in termux (a terminal for android) -if os.getenv("TERMUX_VERSION") ~= nil then +-- Reduce the maximum number of jobs in termux (a terminal for android) or if WEAK_SYSTEM is set to true +if os.getenv("TERMUX_VERSION") ~= nil or os.getenv("WEAK_SYSTEM") == "true" then Packer_max_jobs = 5 else Packer_max_jobs = 100