neovim
neovim copied to clipboard
Colorcolumn is not displayed above modified background
Problem
When running neovim in diff mode, the color column is not displayed above the background indicating changes:
with termguicolors:
with the vim
color scheme:
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:
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
Apply to CursorColumn
with QuickFixLine
as well. Related #22404
Also it affects signs with texthl (e.g. GitGutter with GitGutterLineHighlightsEnable). I wonder what was the original reason to deviate from vim's behavior.