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

@ -413,4 +413,5 @@
[clojure-lsp]: https://github.com/clojure-lsp/clojure-lsp
[conjure]: https://github.com/Olical/conjure
- Add Clojure support under `vim.languages.clojure` using [clojure-lsp] and [conjure].
- Add Clojure support under `vim.languages.clojure` using [clojure-lsp]
- Add code evaluation environment [conjure] under `vim.repl.conjure`

View file

@ -33,6 +33,7 @@
"minimap"
"notes"
"projects"
"repl"
"rich-presence"
"runner"
"session"

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];
};
}

View file

@ -0,0 +1,5 @@
{
imports = [
./conjure.nix
];
}

View file

@ -0,0 +1,5 @@
{
imports = [
./conjure
];
}