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

23 lines
341 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 = lib.mkPackageOption pkgs "fish" {
nullable = true;
};
};
2024-05-05 19:39:35 +02:00
config = mkIf cfg.enable { extraPackages = [ cfg.fishPackage ]; };
}