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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
358 B
Nix
Raw Normal View History

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