Replies: 4 comments 3 replies
-
Here's my
|
Beta Was this translation helpful? Give feedback.
-
Also, adding |
Beta Was this translation helpful? Give feedback.
-
Hi @garyo, delta uses the file name suffix to infer language, so Hm, I wonder why you're not getting the correct colors for
|
Beta Was this translation helpful? Give feedback.
-
In case you're interested in the generated ANSI escapes, here's a segment from the top of the working version (
and here is
|
Beta Was this translation helpful? Give feedback.
-
I'm on MacOS 14.4.1, arm64. I just installed delta via homebrew, version 0.17.0. Configured it into my .gitconfig as recommended. But when I do
git show HEAD
, instead of showing the diffs, it hides the diff markers.Here's an example (I pipe the output into
head -40
so you can see the raw input to delta):produces this output in my terminal:
I can see it's figured out that it's looking at a commit diff, and it's parsing it correctly (hence the hunk headers), but the diff view is all gray with no diff highlighting.
Later on in the output, it also syntax-highlights the added code as if my theme were dark, even though I have
light = true
:In my
.gitconfig
I have this:and in my env, $PAGER is
less
:I did have delta installed a long time ago, but I don't think I have any remnants of the old config around...
I also tried just
cat
ing the input from a diff into delta, with the same results.Beta Was this translation helpful? Give feedback.
All reactions