neovim icon indicating copy to clipboard operation
neovim copied to clipboard

Colorcolumn is not displayed above modified background

Open sergei-grechanik opened this issue 4 months ago • 2 comments

Problem

When running neovim in diff mode, the color column is not displayed above the background indicating changes: with termguicolors: image with the vim color scheme: image

Steps to reproduce

nvim --clean -d foo bar Then run :set textwidth=20 | set colorcolumn=+1 | set termguicolors or set textwidth=20 | set colorcolumn=+1 | colorscheme vim

Expected behavior

vimdiff: image

Neovim version (nvim -v)

NVIM v0.10.0-dev-2754+g12240600f

Vim (not Nvim) behaves the same?

no, VIM - Vi IMproved 9.0 Included patches: 1-841

Operating system/version

Ubuntu 20.04

Terminal name/version

st with tmux. Same behavour in xterm

$TERM environment variable

screen-256color

Installation

built from repo

sergei-grechanik avatar Mar 30 '24 23:03 sergei-grechanik

Apply to CursorColumn with QuickFixLine as well. Related #22404

zeertzjq avatar Mar 30 '24 23:03 zeertzjq

Also it affects signs with texthl (e.g. GitGutter with GitGutterLineHighlightsEnable). I wonder what was the original reason to deviate from vim's behavior.

sergei-grechanik avatar Mar 30 '24 23:03 sergei-grechanik