neovim-flake/modules/plugins/visuals/fidget-nvim/config.nix
NotAShelf 688a41b621
visuals: rename fidget to fidget-nvim
This matches the naming convention in the fidget module options.
2024-10-07 03:15:44 +03:00

20 lines
319 B
Nix

{
config,
lib,
...
}: let
inherit (lib.modules) mkIf;
cfg = config.vim.visuals.fidget-nvim;
in {
config = mkIf cfg.enable {
vim.lazy.plugins = [
{
package = "fidget-nvim";
setupModule = "fidget";
event = "LspAttach";
inherit (cfg) setupOpts;
}
];
};
}