Closed jeusdi closed 1 year ago
I’ve noticed this as well when the diff is side by side instead of interleaved.
Can you try disabling side-by-side for delta from your git config and see if it fixes it?
I think one way to make this view better would be messing with the forgit override variables. You could try moving the preview window to below, and it may render better.
Cool asciinema! Never seen that before.
On Mon, Dec 26, 2022 at 12:29 PM, jeusdi @.***> wrote:
Check list
- I have read through the README
- I have the latest version of forgit
- I have searched through the existing issues
Environment info
OS
Linux
Mac OS X
Windows
Others:
Shell
bash
zsh
fish
Problem / Steps to reproduce
I've recorded an asciinema in order to show the behavior.
- diff left pane seems to be truncated.
- blame theme is not applied.
Any ideas?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
I've tested disabling side-by-side.
The preview window content is expanded up to the right of terminal.
When I set up side-by-side
again, "truncation" behavior arises again.
I'm seeing the same thing on macOS Ventura
Related to https://github.com/wfxr/forgit/issues/121
Can you try the solution here https://github.com/wfxr/forgit/issues/121#issuecomment-968118124
Thanks for that suggestion @0xRZ !!
Regarding the theme not being applied with blame:
There are two things at play here:
--date
is used with any value other than iso8601 or iso8601-local. I think this is a bug, as even a simple git blame --date=short FILENAME
does not apply it's theme and I've created an issue at dandavison/delta#1278We currently always use --date=short
for the preview, so the preview isn't cluttered too much. I think this is a sane default, but maybe we should allow the user to override this behavior?
The blame date format can now be configured with #292.
@sandr01d Do I get it right that the rest is an upstream delta
issue and not related to forgit
?
The blame date format can now be configured with #292.
@sandr01d Do I get it right that the rest is an upstream
delta
issue and not related toforgit
?
Regarding the missing color scheme/missing syntax highlighting yes. Regarding the truncated preview I don't know. @jeusdi could you verify whether https://github.com/wfxr/forgit/issues/121#issuecomment-968118124 works for you?
Pinging @jeusdi to verify if this issue still exists, otherwise I will close it next week.
Check list
Environment info
Problem / Steps to reproduce
I've recorded an asciinema in order to show the behavior.
Here my
~/.gitconfig
:As you can see, I'm using
delta
.Any ideas?