nix-community.nixvim/plugins/cmp/sources/cmp-fish.nix
2024-10-07 12:00:19 -05:00

20 lines
328 B
Nix

{
lib,
config,
pkgs,
...
}:
let
cfg = config.plugins.cmp-fish;
in
{
meta.maintainers = [ lib.maintainers.GaetanLepage ];
options.plugins.cmp-fish = {
fishPackage = lib.mkPackageOption pkgs "fish" {
nullable = true;
};
};
config = lib.mkIf cfg.enable { extraPackages = [ cfg.fishPackage ]; };
}