Skip to content

Commit ab1cc2c

Browse files
authored
Merge pull request #72 from savq/dev
Dev
2 parents d28f9c5 + d814241 commit ab1cc2c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# to tag files
2+
doc/tags

lua/paq.lua

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,12 @@ local function remove(packdir)
149149
end
150150
end
151151
for name, dir in pairs(to_rm) do
152-
call_proc("rm", {"-r", "-f", dir}, packdir, function(ok)
153-
last_ops[name] = "remove"
154-
report("remove", ok and "ok" or "err", name, c)
155-
end)
152+
if name ~= "paq-nvim" then
153+
vim.fn.delete(dir,"rf")
154+
end
156155
end
157156
end
158157

159-
160158
local function list()
161159
local installed = vim.tbl_filter(function(name) return packages[name].exists end, vim.tbl_keys(packages))
162160
local removed = vim.tbl_filter(function(name) return last_ops[name] == "remove" end, vim.tbl_keys(last_ops))

0 commit comments

Comments
 (0)