Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual mode highlight only applies to ctermbg #214

Open
net opened this issue Apr 15, 2024 · 0 comments
Open

Visual mode highlight only applies to ctermbg #214

net opened this issue Apr 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@net
Copy link

net commented Apr 15, 2024

Neovim version (nvim -v | head -n1)

NVIM v0.9.5

Operating system/version

macOS 14.3

How to reproduce the issue

I'm using

vim.o.termguicolors = false

and my Visual highlight has a dark ctermbg and a light ctermfg.

Expected behavior

Here I have the 3rd line (export const ...) folded:

Screenshot 2024-04-15 at 16 00 12

When I select the folded line in visual mode I expect it to take on all the attributes of the Visual highlight group.

Actual behavior

Here, I've selected both lines in visual mode:

Screenshot 2024-04-15 at 16 00 19

As seen with the non-folded line (import db from ...), my Visual highlight group has a dark ctermbg and a light ctermfg. The folded line only takes on the Visual highlight's dark ctermbg, but not the light ctermfg.

@net net added the bug Something isn't working label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant