mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 18:31:35 +00:00
repl/conjure: init
This commit is contained in:
parent
a15ad3cd11
commit
9e50a89d7e
5 changed files with 32 additions and 1 deletions
19
modules/plugins/repl/conjure/conjure.nix
Normal file
19
modules/plugins/repl/conjure/conjure.nix
Normal 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];
|
||||
};
|
||||
}
|
5
modules/plugins/repl/conjure/default.nix
Normal file
5
modules/plugins/repl/conjure/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./conjure.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue