Skip to content

Commit

Permalink
fix(feline): check if lazy.nvim exisis
Browse files Browse the repository at this point in the history
  • Loading branch information
vollowx committed Jul 11, 2024
1 parent 51928b1 commit 99b7568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/catppuccin/groups/integrations/feline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ function M.get()
components.active[1][14] = {
provider = function() return require("lazy.status").updates() end,
enabled = function()
if has_lazy() and sett.show_lazy_updates then
if sett.show_lazy_updates and pcall(require, "lazy") then
return require("lazy.status").has_updates()
else
return false
Expand Down

0 comments on commit 99b7568

Please sign in to comment.