iron

URL: https://github.com/Vigemus/iron.nvim/

Maintainers: Johan Larsson


Interactive Repls Over Neovim.

plugins.iron.enable

Whether to enable iron.nvim.

Type: boolean

Default: false

Example: true

Declared by:

plugins.iron.package

The iron.nvim package to use.

Type: package

Default: pkgs.vimPlugins.iron-nvim

Declared by:

plugins.iron.autoLoad

Whether to automatically load iron.nvim when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by:

plugins.iron.settings

Options provided to the require('iron.core').setup function.

Type: attribute set of anything

Default: { }

Example:

{
  highlight = {
    italic = true;
  };
  keymaps = {
    send_line = "<space>sl";
    send_motion = "<space>sc";
    visual_send = "<space>sc";
  };
  repl_definition = {
    python = {
      command = [
        "python3"
      ];
      format = {
        __raw = "require('iron.fts.common').bracketed_paste_python";
      };
    };
    sh = {
      command = [
        "zsh"
      ];
    };
  };
  repl_open_cmd = {
    __raw = "require(\"iron.view\").bottom(40)";
  };
  scratch_repl = true;
}

Declared by: