nix-community.nixvim/plugins/completion/cmp/sources/cmp-fish.nix

24 lines
358 B
Nix
Raw Normal View History

{
lib,
config,
pkgs,
helpers,
...
}:
2024-05-05 19:39:35 +02:00
with lib;
let
cfg = config.plugins.cmp-fish;
2024-05-05 19:39:35 +02:00
in
{
meta.maintainers = [ maintainers.GaetanLepage ];
options.plugins.cmp-fish = {
fishPackage = helpers.mkPackageOption {
name = "fish";
default = pkgs.fish;
};
};
2024-05-05 19:39:35 +02:00
config = mkIf cfg.enable { extraPackages = [ cfg.fishPackage ]; };
}