mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 11:24:14 +00:00
feat: Move Update section above Updated
Before, the list of plugins that were just updated would appear above the list of plugins that are still to be updated. So if you are trying to update each plugin one at a time, you would have to keep going down farther and farther to get back to the list of pending updates. By switching the order of the two sections, the list of pending updates stays first and makes it easier to read the changes of each plugin before updating them.
This commit is contained in:
parent
e89e938991
commit
cafe0b06e5
1 changed files with 7 additions and 7 deletions
|
@ -46,6 +46,13 @@ return {
|
||||||
end,
|
end,
|
||||||
title = "Breaking Changes",
|
title = "Breaking Changes",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
---@param plugin LazyPlugin
|
||||||
|
filter = function(plugin)
|
||||||
|
return plugin._.updates
|
||||||
|
end,
|
||||||
|
title = "Updates",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
---@param plugin LazyPlugin
|
---@param plugin LazyPlugin
|
||||||
filter = function(plugin)
|
filter = function(plugin)
|
||||||
|
@ -60,13 +67,6 @@ return {
|
||||||
end,
|
end,
|
||||||
title = "Installed",
|
title = "Installed",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
---@param plugin LazyPlugin
|
|
||||||
filter = function(plugin)
|
|
||||||
return plugin._.updates
|
|
||||||
end,
|
|
||||||
title = "Updates",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
filter = function(plugin)
|
filter = function(plugin)
|
||||||
return has_task(plugin, function(task)
|
return has_task(plugin, function(task)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue