-
Notifications
You must be signed in to change notification settings - Fork 234
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
Issues Related to "reverse" color schemes #807
Comments
I'm seeing the exact same behavior |
@zdcthomas I might take a crack at writing a fix this weekend if I have time. |
Just for the record: I see the same issue using |
IMO the real fix is to open a PR for your colorschemes and get them to support all the highlight groups.. All the highlight logic I added is (mostly) a stop-gap. But, by all means, I'd happily accept improvements :) |
Do you have any recommended resource for understanding the semantics of "reverse"? If I understand its purpose better I'd be able to make an appropriate PR in the colorscheme or maybe add better fallback logic to neotest. EDIT: It was actually a lot simpler than I thought. I've fixed the issue by defining the following as links:
I'll test these changes to the color scheme out for a few days and then submit them as a PR to gruvbox |
edit: Whoops, I got the comments about gruvbox and nord mixed up in my head and missed that you were already talking about fixing this wrt gruvbox. |
@jamesbvaughan My fork of gruvbox is on my profile. You can checkout the neogit branch to see what changes I made. |
What are the highlights being used that gruvbox doesn't support rn? |
@zdcthomas I'm assuming he's talking about the |
Then it feels like those shouldn't be expected to exist in all available color schemes, and instead by default they should be bound to another highlight that's more standard no? |
Thats...exactly what's going on: https://github.com/NeogitOrg/neogit/blob/master/lua/neogit/lib/hl.lua#L56-L90 🤷🏼 |
Oh sorry! I'm super behind then |
All good :) No joke, this has been the hardest thing to get "right" since I did the major overhaul to this project. (and arguably it's still not right) |
I'm using What do you think about the following approach? |
I'll go ahead and close this since @sealor did some work to improve the light colorscheme situation. Feel free to reopen if you're still experiencing issues :) |
Could you please explain me how to do this? |
Running into the exact same problem with |
What would you like to see beyond https://github.com/NeogitOrg/neogit/blob/master/doc/neogit.txt#L199-L330 ? |
Description
This is related to another issue that I opened and was partially fixed (#793).
Instead of a hard error now, my highlighted changes are not legible because I believe the foreground and background highlighting are the same color.
Neovim version
NVIM v0.9.1
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Operating system and version
WSL2 Ubuntu 22.04 / Arch Linux Latest
Steps to reproduce
Expected behavior
I expect the highlighted code blocks to be readable instead of solid colors (like in the below image)
Actual behavior
Minimal config
The text was updated successfully, but these errors were encountered: