feat(config): lazyvim.json is now versioned and migrates to a newer version when needed

This commit is contained in:
Folke Lemaitre 2023-10-12 21:45:32 +02:00
parent 8e71968c2b
commit c9892652d2
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 34 additions and 14 deletions

View file

@ -60,7 +60,7 @@ function M.open(file, opts)
return
end
Config.json.data.news[ref] = hash
Config.json.save()
Util.json.save()
end
local float = require("lazy.util").float({