repl/conjure: init

This commit is contained in:
Andreas Nilsson 2025-05-21 20:34:02 +02:00
commit 9e50a89d7e
5 changed files with 32 additions and 1 deletions

View file

@ -0,0 +1,19 @@
{
config,
pkgs,
lib,
...
}: let
inherit (lib.options) mkEnableOption;
inherit (lib.modules) mkIf;
cfg = config.vim.repl.conjure;
in {
options.vim.repl.conjure = {
enable = mkEnableOption "Whether to enable Conjure";
};
config = mkIf cfg.enable {
vim.startPlugins = [pkgs.vimPlugins.conjure];
};
}