utility/fzf-lua: fix type for fzf-bin

This commit is contained in:
Venkatesan Ravi 2025-04-06 04:46:56 +00:00
parent 670f7eacaa
commit 2ef9022b58

View file

@ -4,7 +4,7 @@
pkgs,
...
}: let
inherit (lib.types) enum package;
inherit (lib.types) enum str;
inherit (lib.options) mkEnableOption mkOption;
inherit (lib.nvim.types) mkPluginSetupOption borderType;
in {
@ -12,9 +12,9 @@ in {
enable = mkEnableOption "fzf-lua";
setupOpts = mkPluginSetupOption "fzf-lua" {
fzf_bin = mkOption {
type = package;
type = str;
default = "${lib.getExe pkgs.fzf}";
description = "fzf package to use";
description = "Path to fzf executable";
};
winopts.border = mkOption {
type = borderType;