Skip to content

Toggle color-words #5147

@JakobEdvardsson

Description

@JakobEdvardsson

Hello!

Right now lazygit only shows line-level diffs, which makes small intra-line changes (like added or removed function parameters) hard to spot. Git already supports word-level diffs via --word-diff / --color-words, but as far as I know lazygit doesn’t expose this.

It would be nice to have a way to toggle word-level diff highlighting, similar to how toggleWhitespaceInDiffView works.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions