nvim: look for WEAK_SYSTEM variable as well as TERMUX_VERSION
This commit is contained in:
parent
1fd1dc8ac1
commit
663a03ee17
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue