mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 04:46:45 +00:00
feat: a gazilion rendering improvements
This commit is contained in:
parent
00ff59f385
commit
a11fc5a0e0
5 changed files with 292 additions and 51 deletions
|
@ -10,6 +10,9 @@ local function has_task(plugin, filter)
|
|||
end
|
||||
end
|
||||
|
||||
---@alias LazySection {title:string, filter:fun(plugin:LazyPlugin):boolean?}
|
||||
|
||||
---@type LazySection[]
|
||||
return {
|
||||
{
|
||||
filter = function(plugin)
|
||||
|
@ -51,6 +54,13 @@ return {
|
|||
end,
|
||||
title = "Running",
|
||||
},
|
||||
{
|
||||
---@param plugin LazyPlugin
|
||||
filter = function(plugin)
|
||||
return plugin.updated and plugin.updated.from ~= plugin.updated.to
|
||||
end,
|
||||
title = "Updated",
|
||||
},
|
||||
{
|
||||
filter = function(plugin)
|
||||
return has_task(plugin, function(task)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue