Skip to content

Sometimes image is not centered when vim.o.winborder is set #320

@Steinhagen

Description

@Steinhagen

Sometimes, the rendered image is not centered when vim.o.winborder is set.

image-nvim-render.webm

The complete configuration is can be found at: https://github.com/Steinhagen/neovim-config

Setup:

  1. Ghostty
  2. Latest Neovim version: v0.12.0-nightly+7afcfb6
  3. tmux with image support enabled
  4. winborder set: vim.o.winborder = 'rounded' -- Add border to all floating windows
  5. image.nvim plugin configured as: https://github.com/Steinhagen/neovim-config/blob/1d682ff8c7de66ec8329dca0a9c4f390b4377ca5/lua/plugins/image.lua

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions