Skip to content

[Bug] Output images overlap the code/other output #346

Description

@JAicewizard
  • OS:
  • NeoVim Version: v0.11.5
  • Python Version: 3.13
  • Python is installed with: Arch
  • Health checks
`:checkhealth molten`

molten: 6 ⚠️

molten-nvim ~

  • ✅ OK NeoVim >=0.9
  • ✅ OK Python >=3.10
  • ✅ OK Python module pynvim found
  • ✅ OK Python module jupyter-client found
  • ⚠️ WARNING Optional python module cairosvg not found
    • ADVICE:
      • pip install cairosvg
  • ⚠️ WARNING Optional python module pnglatex not found
    • ADVICE:
      • pip install pnglatex
  • ⚠️ WARNING Optional python module plotly not found
    • ADVICE:
      • pip install plotly
  • ⚠️ WARNING Optional python module kaleido not found
    • ADVICE:
      • pip install kaleido
  • ⚠️ WARNING Optional python module pyperclip not found
    • ADVICE:
      • pip install pyperclip
  • ⚠️ WARNING Optional python module nbformat not found
    • ADVICE:
      • pip install nbformat
  • ✅ OK Python module pillow found
`:checkhealth provider` (the python parts)

==============================================================================
vim.provider: 3 ⚠️

Clipboard (optional) ~

  • ✅ OK Clipboard tool found: wl-copy

Node.js provider (optional) ~

  • Disabled (loaded_node_provider=0).

Perl provider (optional) ~

  • ⚠️ WARNING "Neovim::Ext" cpan module is not installed
    • ADVICE:
      • See :help |provider-perl| for more information.
      • You can disable this provider (and warning) by adding let g:loaded_perl_provider = 0 to your init.vim
  • ⚠️ WARNING No usable perl executable found

Python 3 provider (optional) ~

  • Using: g:python3_host_prog = "/home/jaap/.virtualenvs/neovim/bin/python3"
  • Executable: /home/jaap/.virtualenvs/neovim/bin/python3
  • Python version: 3.13.7
  • pynvim version: 0.6.0
  • ✅ OK Latest pynvim is installed.

Python virtualenv ~

  • ✅ OK no $VIRTUAL_ENV

Ruby provider (optional) ~

  • Ruby: ruby 3.4.7 (2025-10-08 revision 7a5688e2a2) +PRISM [x86_64-linux]
  • ⚠️ WARNING neovim-ruby-host not found.
    • ADVICE:
      • Run gem install neovim to ensure the neovim RubyGem is installed.
      • Run gem environment to ensure the gem bin directory is in $PATH.
      • If you are using rvm/rbenv/chruby, try "rehashing".
      • See :help |g:ruby_host_prog| for non-standard gem installations.
      • You can disable this provider (and warning) by adding let g:loaded_ruby_provider = 0 to your init.vim

Description

When cells have an output image, using the image.nvim provider, the output image overlaps with the code and output text.

See example below. One output image with a single line of code on top.

Image

This is not present when entering the output buffer.

Reproduction Steps

I can make a reproducer if needed, don't have time atm but I can make one later.

Produce an output image

Expected Behavior

The image should be a single line lower

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions