Lazy.nvim integration #96
olimorris
started this conversation in
Show and tell
Replies: 2 comments 2 replies
-
This seems not to work...
|
Beta Was this translation helpful? Give feedback.
0 replies
-
condition should be a fn that returns a boolean, not the boolean itself {
condition = function()
local ok, lazy_status = pcall(require, "lazy.status")
return ok and lazy_status.has_updates()
end,
provider = function()
return " " .. require("lazy.status").updates() .. " "
end,
hl = "Error",
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To show how many updates to your plugins you have:
Beta Was this translation helpful? Give feedback.
All reactions