mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-01-19 16:32:24 +00:00
17 lines
284 B
Nix
17 lines
284 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
|
|
cfg = config.vim.fzf-lua;
|
|
in {
|
|
vim.lazy.plugins."fzf-lua" = mkIf cfg.enable {
|
|
package = "fzf-lua";
|
|
cmd = ["FzfLua"];
|
|
setupModule = "fzf-lua";
|
|
setupOpts = cfg.setupOpts // {"@1" = cfg.profile;};
|
|
};
|
|
}
|