A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/neovim/neovim/issues/17638 below:

Virtual text + relativenumber rendering issues · Issue #17638 · neovim/neovim · GitHub

Neovim version (nvim -v)

NVIM v0.7.0-dev+1203-gc3cc17f0e

Vim (not Nvim) behaves the same?

no

Operating system/version

Arch linux

Terminal name/version

Kitty 0.24.4

$TERM environment variable

xterm-kitty

Installation

build from repo

How to reproduce the issue

nvim -u init.lua

-- init.lua
vim.wo.number = true
vim.wo.relativenumber = true

vim.cmd [[normal 20ohello]]
vim.cmd [[normal ithis is weird]]

vim.api.nvim_buf_set_extmark(
    0,
    vim.api.nvim_create_namespace("foo"),
    1,
    0,
    {virt_text = {{"hello", "String"}}, virt_text_pos = "overlay", hl_mode = "combine", virt_text_win_col = 20, priority = 1}
)
Expected behavior

Virtual text is displayed normally.

Actual behavior

The line with the virtual text has render artifacts from the line the cursor is on.

nvim-bug-2022-03-07_20.09.35.mp4

nmrtv, adelarsq, kuator, yutkat, sagb-dev and 3 more


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4