plugins/completion: move to by-name

- Move nvim-cmp to plugins/cmp
- Move other completion plugins to plugins/by-name
This commit is contained in:
Matt Sturgeon 2024-09-05 02:36:41 +01:00
parent 3211a63306
commit ad85cd760e
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
36 changed files with 2 additions and 9 deletions

View file

@ -0,0 +1,22 @@
{
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 ]; };
}