mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
19 lines
311 B
Nix
19 lines
311 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.options) mkEnableOption;
|
|
inherit (lib.modules) mkIf;
|
|
|
|
cfg = config.vim.repl.conjure;
|
|
in {
|
|
options.vim.repl.conjure = {
|
|
enable = mkEnableOption "Conjure";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
vim.startPlugins = [pkgs.vimPlugins.conjure];
|
|
};
|
|
}
|