fix(pkg): versioning and reload specs when pkg-cache is dirty

This commit is contained in:
Folke Lemaitre 2024-06-23 22:00:48 +02:00
parent 183f59e2e8
commit fd8229d6e3
5 changed files with 59 additions and 48 deletions

View file

@ -46,7 +46,7 @@ function M.get(plugin)
return #rocks > 0
and {
source = "rockspec",
file = rockspec_file,
file = vim.fn.fnamemodify(rockspec_file, ":t"),
spec = {
plugin.name,
rocks = rocks,