mirror of https://github.com/folke/lazy.nvim.git
feat(ui): show indication of plugins that need build. See #1563
This commit is contained in:
parent
2e1167df4a
commit
53f314d9e6
|
@ -379,7 +379,12 @@ function M:diagnostics(plugin)
|
|||
if skip then
|
||||
return
|
||||
end
|
||||
if plugin._.updated then
|
||||
if plugin._.build then
|
||||
self:diagnostic({
|
||||
message = "needs build",
|
||||
severity = vim.diagnostic.severity.WARN,
|
||||
})
|
||||
elseif plugin._.updated then
|
||||
if plugin._.updated.from == plugin._.updated.to then
|
||||
self:diagnostic({
|
||||
message = "already up to date",
|
||||
|
|
|
@ -33,6 +33,12 @@ return {
|
|||
end,
|
||||
title = "Working",
|
||||
},
|
||||
{
|
||||
filter = function(plugin)
|
||||
return plugin._.build
|
||||
end,
|
||||
title = "Build",
|
||||
},
|
||||
{
|
||||
filter = function(plugin)
|
||||
return has_task(plugin, function(task)
|
||||
|
|
Loading…
Reference in New Issue