mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-11 04:19:47 +01:00
22 lines
336 B
Nix
22 lines
336 B
Nix
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
...
|
||
|
}: let
|
||
|
inherit (lib.modules) mkIf;
|
||
|
|
||
|
cfg = config.vim.statusline.feline-nvim;
|
||
|
in {
|
||
|
config = mkIf cfg.enable {
|
||
|
vim = {
|
||
|
lazy.plugins.feline-nvim = {
|
||
|
event = "UIEnter";
|
||
|
|
||
|
package = "feline-nvim";
|
||
|
setupModule = "feline";
|
||
|
inherit (cfg) setupOpts;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|