mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/helm: switch to mkVimPlugin
This commit is contained in:
parent
77b495801c
commit
b0ebcaa177
1 changed files with 5 additions and 20 deletions
|
@ -1,27 +1,12 @@
|
|||
{
|
||||
lib,
|
||||
helpers,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.plugins.helm;
|
||||
in
|
||||
{
|
||||
meta.maintainers = [ maintainers.GaetanLepage ];
|
||||
helpers.vim-plugin.mkVimPlugin {
|
||||
name = "helm";
|
||||
originalName = "vim-helm";
|
||||
package = "vim-helm";
|
||||
|
||||
options.plugins.helm = {
|
||||
enable = mkEnableOption "vim-helm";
|
||||
|
||||
package = lib.mkPackageOption pkgs "vim-helm" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"vim-helm"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable { extraPlugins = [ cfg.package ]; };
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue