mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
20 lines
328 B
Nix
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 ]; };
|
|
}
|