feat(ui): you can now hover over a plugin to open a diff of updates or the plugin homepage

This commit is contained in:
Folke Lemaitre 2022-12-23 22:39:16 +01:00
parent a973c2edc2
commit 593d6e400b
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 63 additions and 15 deletions

View file

@ -149,7 +149,9 @@ function M:help()
self:append("Most properties can be hovered with ")
self:append("<K>", "LazySpecial")
self:append(" to open links, help files, readmes and git commits."):nl():nl()
self:append(" to open links, help files, readmes and git commits."):nl()
self:append("When hovering on a plugin anywhere else, a diff will be opened if there are updates"):nl()
self:append("or the plugin was just updated. Otherwise the plugin webpage will open."):nl():nl()
self:append("Keyboard Shortcuts", "LazyH2"):nl()
for _, mode in ipairs(ViewConfig.get_commands()) do