Skip to content
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

Wrong diff highlights for a lot of unchanged lines #729

Open
c02y opened this issue Jun 8, 2024 · 0 comments
Open

Wrong diff highlights for a lot of unchanged lines #729

c02y opened this issue Jun 8, 2024 · 0 comments

Comments

@c02y
Copy link

c02y commented Jun 8, 2024

Thanks for reporting a bug! Please include all of the following:

(1) A description of the issue. A screenshot is often helpful too.

(2) A copy of what you're diffing. If you're diffing files, include the before and after files. If you're using difftastic with a VCS repository (e.g. git), include the URL and commit hash.

(3) The version of difftastic you're using (see difft --version) and your operating system.

When I use difft as the diff pager in lazygit, I see that a lot of unchanged lines are highlight inside lazygit
difftastioc version: Difftastic 0.58.0 (0c9277108 2024-05-10, built with rustc 1.78.0)

For reference from lazygit: https://github.com/jesseduffield/lazygit/blob/master/docs/Custom_Pagers.md

When using difft as the pager in lazygit/config.yml

git:
  paging:
    externalDiffCommand: difft --color=always --display=inline --syntax-highlight=off

screenshot: https://imgur.com/a/rydgHOJ

When using delta as the pager in lazygit/config.yml

git:
  paging:
    pager: delta --dark --paging=never --true-color=never --line-numbers

screenshot: https://imgur.com/KLPP6oS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant