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

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

23 lines
341 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 = lib.mkPackageOption pkgs "fish" {
nullable = true;
};
};
config = mkIf cfg.enable { extraPackages = [ cfg.fishPackage ]; };
}