mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-24 06:10:44 +00:00
21 lines
319 B
Nix
21 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;
|
|
}
|
|
];
|
|
};
|
|
}
|