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