You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm not sure if this is a property of the vim virtual text or the property of the plugin's virtual text highlight group or perhaps the property of the color scheme (tokyonight-night) that I'm using, but somehow the virtual text for git-blame that I see on my neovim is a bit odd. I have the vim cursorline enabled so when the virtual text appears for the blame, I see a darkened background for the text as seen in the screenshot below.
I have also tried using highlight_group = "Comment" but it makes no difference to this specific concern:
If you look at the lines with comments in the above 2 screenshots, this issue is not seen (the line that says Show which line your cursor is on). Is it possible to have a transparent background effect on the blame virtual text? Or do you have some other advice to deal with this?
You can do something like that to define a new highlight, with the CursorLine background and the Comment foreground, and use this highlight with git-blame:
@gauthier-th super cool! After looking at the code I can understand what you did and that's so smart yet so simple. I don't think I could've come up with that myself. Thanks for the answer!
Hello, I'm not sure if this is a property of the vim virtual text or the property of the plugin's virtual text highlight group or perhaps the property of the color scheme (
tokyonight-night
) that I'm using, but somehow the virtual text for git-blame that I see on my neovim is a bit odd. I have the vimcursorline
enabled so when the virtual text appears for the blame, I see a darkened background for the text as seen in the screenshot below.I have also tried using
highlight_group = "Comment"
but it makes no difference to this specific concern:If you look at the lines with comments in the above 2 screenshots, this issue is not seen (the line that says
Show which line your cursor is on
). Is it possible to have a transparent background effect on the blame virtual text? Or do you have some other advice to deal with this?I'm using the following options:
The text was updated successfully, but these errors were encountered: