1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00
nixvim/plugins/by-name/iron/default.nix
saygo-png c4b27080a6 treewide: infer packPathName menial work
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:49:59 +00:00

34 lines
727 B
Nix

{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "iron";
moduleName = "iron.core";
package = "iron-nvim";
description = ''
Interactive Repls Over Neovim.
'';
maintainers = [ lib.maintainers.jolars ];
settingsExample = {
scratch_repl = true;
repl_definition = {
sh = {
command = [ "zsh" ];
};
python = {
command = [ "python3" ];
format.__raw = "require('iron.fts.common').bracketed_paste_python";
};
};
repl_open_cmd.__raw = ''require("iron.view").bottom(40)'';
keymaps = {
send_motion = "<space>sc";
visual_send = "<space>sc";
send_line = "<space>sl";
};
highlight = {
italic = true;
};
};
}