mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-25 18:28:37 +02:00
plugins/conjure: switch to mkVimPlugin
This commit is contained in:
parent
58d2a5ac9c
commit
ece372190a
1 changed files with 3 additions and 19 deletions
|
@ -1,25 +1,9 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
helpers,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib;
|
lib.nixvim.vim-plugin.mkVimPlugin {
|
||||||
let
|
name = "conjure";
|
||||||
cfg = config.plugins.conjure;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.plugins.conjure = {
|
|
||||||
enable = mkEnableOption "Conjure";
|
|
||||||
|
|
||||||
package = lib.mkPackageOption pkgs "conjure" {
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||||
default = [
|
|
||||||
"vimPlugins"
|
|
||||||
"conjure"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
config = mkIf cfg.enable { extraPlugins = [ cfg.package ]; };
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue