feat(restore): you can now restore a plugin to a certain commit. Fixes #234

This commit is contained in:
Folke Lemaitre 2022-12-30 09:08:21 +01:00
parent 4b29f7e3d5
commit 1283c2b288
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 37 additions and 18 deletions

View file

@ -96,8 +96,8 @@ M.commands = {
},
restore = {
button = true,
desc = "Updates all plugins to the state in the lockfile",
desc_plugin = "Restore a plugin to the state in the lockfile",
desc = "Updates all plugins to the state in the lockfile. For a single plugin: restore it to the state in the lockfile or to a given commit under the cursor",
desc_plugin = "Restore a plugin to the state in the lockfile or to a given commit under the cursor",
id = 8,
key = "R",
key_plugin = "r",