-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
git-messenger and window focus break the signs #484
Comments
This does not look like a bug. Looks more like bad config.
This is your problem. When you focus on git-messengers window, you are disabling the sign column. This doesn't happen with gitsigns blame window since gitsigns doesn't change focus from the current buffer.
All highlights in gitsigns are configurable. For the diff in the blame window |
The focus should be re-acquired, and
Thank you ❤️. |
Not if some plugin uses |
Alright, thank you for your time, I think you can close this issue as this appears to be a I hope you get around to implementing the missing functionality to allow the full transition to |
Description
I use
git-messenger
instead ofgitsigns.blame_line
to open a hover window with the blame information, as I think it:However, whenever I use display
git-messenger
's window, the signs disappear, and only reappear once I manipulate my windows, like opening a split. Mygitsigns
mapping still work, so I don't think it has detached itself.Neovim version
0.6.1
Operating system and version
NixOS unstable
Expected behavior
I would like to either:
git-messenger
's hover window without triggering this bug,gitsigns
(see older/newer commit for blame_line #198,Blame line: allow to show full commit message #173, being able to see the full diff, not just this hunk's, and be able to do the "three step toggle" which by default shows the blame window without diff, but allows showing the diff with mappings)Anecdotally, I'm not sure how to make the diff prettier, I dislike how the blame window has full (background) highlighting of changed lines and would rather it show colored text.
Actual behavior
Comparison of the looks of the windows, when the diff is enabled:
![blame-comparison](https://user-images.githubusercontent.com/12465195/156750646-43406372-226c-47e5-849c-8b2f027dd9b8.png)
I cannot record the bug where the signs disappear unfortunately.
Minimal config
Steps to reproduce
nvim -nu minimal.lua
gitsigns
gs.blame_line
, they are still visiblegit-messenger
, move the cursor, they disappear.If you use the
git-messenger
mappings twice, to move into its hover window, and then do<C-w><C-q>
, the sign column does reappear correctly.Gitsigns debug messages
The text was updated successfully, but these errors were encountered: