mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-04-15 00:58:37 +00:00
Merge pull request #803 from venkyr77/fzf-lua-type-fix
utility/fzf-lua: fix type for fzf-bin
This commit is contained in:
commit
d407efa323
1 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.types) enum package;
|
inherit (lib.types) enum str;
|
||||||
inherit (lib.options) mkEnableOption mkOption;
|
inherit (lib.options) mkEnableOption mkOption;
|
||||||
inherit (lib.nvim.types) mkPluginSetupOption borderType;
|
inherit (lib.nvim.types) mkPluginSetupOption borderType;
|
||||||
in {
|
in {
|
||||||
|
@ -12,9 +12,9 @@ in {
|
||||||
enable = mkEnableOption "fzf-lua";
|
enable = mkEnableOption "fzf-lua";
|
||||||
setupOpts = mkPluginSetupOption "fzf-lua" {
|
setupOpts = mkPluginSetupOption "fzf-lua" {
|
||||||
fzf_bin = mkOption {
|
fzf_bin = mkOption {
|
||||||
type = package;
|
type = str;
|
||||||
default = "${lib.getExe pkgs.fzf}";
|
default = "${lib.getExe pkgs.fzf}";
|
||||||
description = "fzf package to use";
|
description = "Path to fzf executable";
|
||||||
};
|
};
|
||||||
winopts.border = mkOption {
|
winopts.border = mkOption {
|
||||||
type = borderType;
|
type = borderType;
|
||||||
|
|
Loading…
Add table
Reference in a new issue