mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-25 10:18:36 +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,
|
||||
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 ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue