From ece372190a51ff13e0a3af2b5797ee41ab831aab Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 15 Dec 2024 15:55:56 +0100 Subject: [PATCH] plugins/conjure: switch to mkVimPlugin --- plugins/by-name/conjure/default.nix | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/plugins/by-name/conjure/default.nix b/plugins/by-name/conjure/default.nix index 91278a2d..37611ae5 100644 --- a/plugins/by-name/conjure/default.nix +++ b/plugins/by-name/conjure/default.nix @@ -1,25 +1,9 @@ { lib, - helpers, - config, - pkgs, ... }: -with lib; -let - cfg = config.plugins.conjure; -in -{ - options.plugins.conjure = { - enable = mkEnableOption "Conjure"; +lib.nixvim.vim-plugin.mkVimPlugin { + name = "conjure"; - package = lib.mkPackageOption pkgs "conjure" { - default = [ - "vimPlugins" - "conjure" - ]; - }; - }; - - config = mkIf cfg.enable { extraPlugins = [ cfg.package ]; }; + maintainers = [ lib.maintainers.GaetanLepage ]; }