abeldekat / lazyflex.nvim

An addon for lazy.nvim. Easily enable/disable multiple plugins.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with lazyvim v10.0 and optional=true

abeldekat opened this issue · comments

in lazyvim.plugins.ui:

{
    "goolord/alpha-nvim",
    optional = true,
    enabled = function()
      require("lazyvim.util").warn({
        "`dashboard.nvim` is now the default LazyVim starter plugin.",
        "",
        "To keep using `alpha.nvim`, please enable the `lazyvim.plugins.extras.ui.alpha` extra.",
        "Or to hide this message, remove the alpha spec from your config.",
      })
      return false
    end,
},

lazyflex(v2.1.2) in attach, add: Tests the plugin for enabled = false, and the message is shown!

Also: fix enabled plugin (not enabled == false) having cond = false