plugins/languages: move to by-name

This commit is contained in:
Austin Horstman 2024-09-09 14:11:14 -05:00
parent 9d323f3ec7
commit b1d0959bc9
No known key found for this signature in database
71 changed files with 19 additions and 36 deletions

View file

@ -0,0 +1,27 @@
{
lib,
helpers,
config,
pkgs,
...
}:
with lib;
let
cfg = config.plugins.helm;
in
{
meta.maintainers = [ maintainers.GaetanLepage ];
options.plugins.helm = {
enable = mkEnableOption "vim-helm";
package = lib.mkPackageOption pkgs "vim-helm" {
default = [
"vimPlugins"
"vim-helm"
];
};
};
config = mkIf cfg.enable { extraPlugins = [ cfg.package ]; };
}