diff options
author | Sergio Alejandro Vargas <savargasqu+git@unal.edu.co> | 2021-08-15 02:52:07 +0530 |
---|---|---|
committer | Sergio Alejandro Vargas <savargasqu+git@unal.edu.co> | 2021-08-15 02:52:07 +0530 |
commit | f178e54b08e76e2cadfa3151ac9b628087bc7fa4 (patch) | |
tree | 7ed6501fcea9eebeb6c117b57e36f9b2fb0330bd | |
parent | 9cd629970801ca3c4a5c26df110ea0bb451a2570 (diff) | |
download | paq-f178e54b08e76e2cadfa3151ac9b628087bc7fa4.tar.gz |
Handle submodules correctly
Forgot a flag
-rw-r--r-- | lua/paq.lua | 2 |
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 | ||
90 | local function install(pkg) | 90 | local 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) |