Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

molten

URL: https://github.com/benlubas/molten-nvim/

Maintainers: Gaetan Lepage


A neovim plugin for interactively running code with the jupyter kernel. Fork of magma-nvim with improvements in image rendering, performance, and more.

plugins.molten.enable

Whether to enable molten.

Type: boolean

Default: false

Example: true

Declared by:

plugins.molten.package

The molten package to use.

Type: package

Default: pkgs.vimPlugins.molten-nvim

Declared by:

plugins.molten.autoLoad

Whether to automatically load molten when neovim starts.

Type: boolean

Default: true

Example: false

Declared by:

plugins.molten.python3Dependencies

Python packages to add to the PYTHONPATH of neovim.

Type: function that evaluates to a(n) list of package

Default:

p: with p; [
  pynvim
  jupyter-client
  cairosvg
  ipython
  nbformat
  ipykernel
]

Declared by:

plugins.molten.settings

The configuration options for molten without the molten_ prefix.

For example, the following settings are equivialent to these :setglobal commands:

  • foo_bar = 1 -> :setglobal molten_foo_bar=1
  • hello = "world" -> :setglobal molten_hello="world"
  • some_toggle = true -> :setglobal molten_some_toggle
  • other_toggle = false -> :setglobal nomolten_other_toggle

Type: lua value

Default: { }

Example:

{
  auto_open_output = true;
  copy_output = false;
  enter_output_behavior = "open_then_enter";
  image_provider = "none";
  output_crop_border = true;
  output_show_more = false;
  output_virt_lines = false;
  output_win_border = [
    ""
    "━"
    ""
    ""
  ];
  output_win_cover_gutter = true;
  output_win_hide_on_leave = true;
  output_win_style = false;
  save_path = {
    __raw = "vim.fn.stdpath('data')..'/molten'";
  };
  show_mimetype_debug = false;
  use_border_highlights = false;
  virt_lines_off_by1 = false;
  wrap_output = false;
}

Declared by: