nvf/modules/plugins/visuals/fidget/config.nix

21 lines
319 B
Nix
Raw Normal View History

{
config,
lib,
...
}: let
2024-03-24 00:14:39 +00:00
inherit (lib.modules) mkIf;
cfg = config.vim.visuals.fidget-nvim;
in {
config = mkIf cfg.enable {
2024-09-30 19:59:19 +00:00
vim.lazy.plugins = [
{
package = "fidget-nvim";
setupModule = "fidget";
event = "LspAttach";
inherit (cfg) setupOpts;
}
];
};
}