-
Notifications
You must be signed in to change notification settings - Fork 390
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 blame -C
loses syntax highlighting
#1803
Comments
Hmm, this just got even weirder. If I run |
Nice find! The blame output does not mention the file type, so delta uses the |
Signed-off-by: dvermd <[email protected]>
Signed-off-by: dvermd <[email protected]>
Signed-off-by: dvermd <[email protected]>
The
-C
flag forgit blame
is useful for tracking blame beyond code that was moved from one file to another. Unfortunately, it seems to cause delta to lose its syntax highlighting - the blame still has grouped background highlights in different shades of gray, but the code itself isn't highlighted. Here is an asciinema recording demonstrating the issue by runninggit blame src/handlers/blame.rs
andgit blame -C src/handlers/blame.rs
in a clone of this repository (at commit a01141b):The text was updated successfully, but these errors were encountered: