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

21 lines
328 B
Nix
Raw Normal View History

{
lib,
config,
pkgs,
...
}:
2024-05-05 19:39:35 +02:00
let
cfg = config.plugins.cmp-fish;
2024-05-05 19:39:35 +02:00
in
{
2024-10-06 09:57:31 -05:00
meta.maintainers = [ lib.maintainers.GaetanLepage ];
options.plugins.cmp-fish = {
fishPackage = lib.mkPackageOption pkgs "fish" {
nullable = true;
};
};
2024-10-06 09:57:31 -05:00
config = lib.mkIf cfg.enable { extraPackages = [ cfg.fishPackage ]; };
}