aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Alejandro Vargas <savargasqu+git@unal.edu.co>2021-08-15 02:52:07 +0530
committerSergio Alejandro Vargas <savargasqu+git@unal.edu.co>2021-08-15 02:52:07 +0530
commitf178e54b08e76e2cadfa3151ac9b628087bc7fa4 (patch)
tree7ed6501fcea9eebeb6c117b57e36f9b2fb0330bd
parent9cd629970801ca3c4a5c26df110ea0bb451a2570 (diff)
downloadpaq-f178e54b08e76e2cadfa3151ac9b628087bc7fa4.tar.gz
Handle submodules correctly
Forgot a flag
-rw-r--r--lua/paq.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/paq.lua b/lua/paq.lua
index 354da66..434c457 100644
--- a/lua/paq.lua
+++ b/lua/paq.lua
@@ -89,7 +89,7 @@ end
89 89
90local function install(pkg) 90local function install(pkg)
91 if pkg.exists then return update_count("install", "nop", nil, num_pkgs) end 91 if pkg.exists then return update_count("install", "nop", nil, num_pkgs) end
92 local args = {"clone", pkg.url, "--depth=1", "--shallow-submodules"} 92 local args = {"clone", pkg.url, "--depth=1", "--recurse-submodules", "--shallow-submodules"}
93 if pkg.branch then vim.list_extend(args, {"-b", pkg.branch}) end 93 if pkg.branch then vim.list_extend(args, {"-b", pkg.branch}) end
94 vim.list_extend(args, {pkg.dir}) 94 vim.list_extend(args, {pkg.dir})
95 local post_install = function(ok) 95 local post_install = function(ok)