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

Inline blame is completely obscured if cursorline is turned on #255

Closed
goronfreeman opened this issue Jul 8, 2021 · 3 comments
Closed
Labels
enhancement New feature or request

Comments

@goronfreeman
Copy link

Is your feature request related to a problem? Please describe.
The inline blame is completely invisible if cursorline is turned on, since the color of the blame text and the color of the cursorline are the same. I'm assuming that this is not an issue with all colorschemes, but I would imagine it would be an issue with many.

Describe the solution you'd like
A config option to change the color of the text or providing a default that is less likely to be obscured would both work.

Additional context
I am using Neovim 0.5 with this fork of the nord theme that has support for treesitter.

@goronfreeman goronfreeman added the enhancement New feature or request label Jul 8, 2021
@lewis6991
Copy link
Owner

I tried a selection of colorschemes and only nord had this issue:

A config option to change the color of the text

You can already customize this since the current_line_blame has its own highlight GitSignsCurrentLineBlame, you just need to define it. Something like highlight link GitSignsCurrentLineBlame Visual will work. You may want to raise a PR for nord to fix this.

@lougreenwood
Copy link

lougreenwood commented Dec 17, 2021

As a note, I also have this issue with Dracula, using highlight link GitSignsCurrentLineBlame Visual fixed it 👍

@marcelarie
Copy link

As a note, I also have this issue with Dracula, using highlight link GitSignsCurrentLineBlame Visual fixed it 👍

For anyone that wants to set this with lua:

vim.api.nvim_set_hl(
  0,
  "GitSignsCurrentLineBlame",
  { link = "Visual" }
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants