aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/paq.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/paq.lua b/lua/paq.lua
index f308adc..d69c4cd 100644
--- a/lua/paq.lua
+++ b/lua/paq.lua
@@ -150,7 +150,8 @@ local function remove(packdir)
150 end 150 end
151 for name, dir in pairs(to_rm) do 151 for name, dir in pairs(to_rm) do
152 if name ~= "paq-nvim" then 152 if name ~= "paq-nvim" then
153 vim.fn.delete(dir,"rf") 153 local ok = vim.fn.delete(dir, "rf")
154 report("remove", ok == 0 and "ok" or "err", name, c)
154 end 155 end
155 end 156 end
156end 157end