fix(nvim): ensure alpha plugin updates get correct highlight on update
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 38s
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 38s
This commit is contained in:
parent
4c6234419e
commit
1570c3f223
@ -148,10 +148,10 @@ return {
|
|||||||
type = "text",
|
type = "text",
|
||||||
val = function()
|
val = function()
|
||||||
if lstatus.has_updates() and lstatus.updates() then
|
if lstatus.has_updates() and lstatus.updates() then
|
||||||
vim.api.nvim_set_hl(0, "AlphaPluginUpdate", { link = "@keyword.return" })
|
vim.api.nvim_set_hl(0, "AlphaPluginUpdate", { link = "@keyword.return", force = true })
|
||||||
return "Plugin updates available!"
|
return "Plugin updates available!"
|
||||||
else
|
else
|
||||||
vim.api.nvim_set_hl(0, "AlphaPluginUpdate", { link = "@string" })
|
vim.api.nvim_set_hl(0, "AlphaPluginUpdate", { link = "@string", force = true })
|
||||||
return "All plugins up to date"
|
return "All plugins up to date"
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user